Lines Matching refs:first

321     adjusted_time_stats[static_cast<uint64_t>(time.first / time_unit)] +=  in adjust_time_unit()
351 const CacheConfiguration& config = config_caches.first; in WriteMissRatioCurves()
421 uint64_t time = num_miss.first; in WriteMissRatioTimeline()
431 const CacheConfiguration& config = config_caches.first; in WriteMissRatioTimeline()
444 uint64_t time = num_miss.first; in WriteMissRatioTimeline()
458 output_dir_ + "/" + std::to_string(it.first) + "_" + in WriteMissRatioTimeline()
471 std::string row(label.first); in WriteMissRatioTimeline()
498 uint64_t time = num_miss.first; in WriteMissTimeline()
505 const CacheConfiguration& config = config_caches.first; in WriteMissTimeline()
514 uint64_t time = num_miss.first; in WriteMissTimeline()
524 output_dir_ + "/" + std::to_string(it.first) + "_" + in WriteMissTimeline()
537 std::string row(label.first); in WriteMissTimeline()
628 caller_map.first, /*block_id=*/0, block); in WriteCorrelationFeatures()
630 caller_map.first); in WriteCorrelationFeatures()
658 auto it = label_predictions.find(label_feature_vectors.first); in WriteCorrelationFeaturesToFile()
662 label_feature_vectors.first + "_" + in WriteCorrelationFeaturesToFile()
763 const std::string& cf_name = cf_aggregates.first; in TraverseBlocks()
766 const uint64_t fd = file_aggregates.first; in TraverseBlocks()
771 const TraceType type = block_type_aggregates.first; in TraverseBlocks()
780 block_callback(cf_name, fd, level, type, block_access_info.first, in TraverseBlocks()
808 if (caller_access.first == TableReaderCaller::kUserGet) { in WriteGetSpatialLocality()
869 const TableReaderCaller caller = timeline.first; in WriteAccessTimeline()
876 const uint64_t timestamp = naccess.first / time_unit; in WriteAccessTimeline()
933 std::string row(label.first); in WriteAccessTimeline()
971 .upper_bound(reuse_distance.first) in WriteReuseDistance()
988 header += label_it.first; in WriteReuseDistance()
1018 uint64_t prev_timestamp = it->first; in UpdateReuseIntervalStats()
1027 const uint64_t timestamp = it->first; in UpdateReuseIntervalStats()
1054 header += label_it.first; in WriteStatsToFile()
1097 const TableReaderCaller caller = timeline.first; in WriteReuseInterval()
1112 timeline[time_naccess.first] += time_naccess.second; in WriteReuseInterval()
1198 const TableReaderCaller caller = caller_num.first; in WriteBlockReuseTimeline()
1200 const uint64_t timestamp = timeline.first; in WriteBlockReuseTimeline()
1269 const std::string& cf_name = cf_aggregates.first; in OutputPercentAccessStats()
1290 const TableReaderCaller caller = caller_num.first; in WritePercentAccessSummaryStats()
1307 header += cf_name.first; in WritePercentAccessSummaryStats()
1311 const TableReaderCaller caller = cf_naccess_it.first; in WritePercentAccessSummaryStats()
1330 const TableReaderCaller caller = caller_num.first; in WriteDetailedPercentAccessSummaryStats()
1351 header += cf_name.first; in WriteDetailedPercentAccessSummaryStats()
1355 const uint32_t level = level_naccess_it.first; in WriteDetailedPercentAccessSummaryStats()
1374 header += cf_name.first; in WriteDetailedPercentAccessSummaryStats()
1378 const TraceType bt = bt_naccess_it.first; in WriteDetailedPercentAccessSummaryStats()
1415 if (!user_access_only || is_user_access(caller_access.first)) { in WriteAccessCountSummaryStats()
1622 block_type_to_string(bt_stats.first).c_str(), in PrintBlockSizeStats()
1626 const std::string& cf_name = cf_bt_stats.first; in PrintBlockSizeStats()
1631 cf_name.c_str(), block_type_to_string(bt_stats.first).c_str(), in PrintBlockSizeStats()
1650 if (!user_access_only || is_user_access(caller_access.first)) { in PrintAccessCountStats()
1681 if (!user_access_only || is_user_access(caller_access.first)) { in PrintAccessCountStats()
1682 caller_naccesses[caller_access.first] += caller_access.second; in PrintAccessCountStats()
1689 statistics += caller_to_string(caller_naccessess_it.first); in PrintAccessCountStats()
1698 bottom_k, naccess_it->first, naccess_it->second.size(), in PrintAccessCountStats()
1714 if (!user_access_only || is_user_access(caller_access.first)) { in PrintAccessCountStats()
1720 if (!user_access_only || is_user_access(caller_access.first)) { in PrintAccessCountStats()
1722 statistics += caller_to_string(caller_access.first); in PrintAccessCountStats()
1732 if (!user_access_only || is_user_access(caller_access.first)) { in PrintAccessCountStats()
1740 if (!user_access_only || is_user_access(caller_access.first)) { in PrintAccessCountStats()
1763 top_k, naccess_it->first, statistics.c_str()); in PrintAccessCountStats()
1770 block_type_to_string(bt_stats.first).c_str(), in PrintAccessCountStats()
1774 const std::string& cf_name = cf_bt_stats.first; in PrintAccessCountStats()
1780 cf_name.c_str(), block_type_to_string(bt_stats.first).c_str(), in PrintAccessCountStats()
1854 cf_stats.first.c_str(), cf_stats.second.ToString().c_str()); in PrintDataBlockAccessStats()
1865 cf_stats.first.c_str(), cf_stats.second.ToString().c_str()); in PrintDataBlockAccessStats()
1875 cf_stats.first.c_str(), cf_stats.second.ToString().c_str()); in PrintDataBlockAccessStats()
1884 cf_stats.first.c_str(), cf_stats.second.ToString().c_str()); in PrintDataBlockAccessStats()
1893 cf_stats.first.c_str(), cf_stats.second.ToString().c_str()); in PrintDataBlockAccessStats()
1909 const std::string& cf_name = cf_aggregates.first; in PrintStatsSummary()
1924 const uint64_t fd = file_aggregates.first; in PrintStatsSummary()
1930 const TraceType type = block_type_aggregates.first; in PrintStatsSummary()
1944 const TableReaderCaller caller = stats.first; in PrintStatsSummary()
1971 block_type_to_string(block_type.first).c_str(), block_type.second, in PrintStatsSummary()
1979 caller_to_string(caller.first).c_str(), naccesses, in PrintStatsSummary()
1982 caller_to_string(caller.first).c_str()); in PrintStatsSummary()
1984 cf_caller_level_num_accesses_map[caller.first]) { in PrintStatsSummary()
1988 naccess_level.first, naccess_level.second, in PrintStatsSummary()
1992 caller_to_string(caller.first).c_str()); in PrintStatsSummary()
1993 for (auto naccess_file : cf_caller_file_num_accesses_map[caller.first]) { in PrintStatsSummary()
1997 naccess_file.first, naccess_file.second, in PrintStatsSummary()
2002 caller_to_string(caller.first).c_str()); in PrintStatsSummary()
2003 for (auto naccess_type : cf_caller_bt_num_accesses_map[caller.first]) { in PrintStatsSummary()
2007 block_type_to_string(naccess_type.first).c_str(), in PrintStatsSummary()
2020 block_type_to_string(block_type.first).c_str(), block_type.second, in PrintStatsSummary()
2027 caller_to_string(caller.first).c_str(), naccesses, in PrintStatsSummary()
2030 caller_to_string(caller.first).c_str()); in PrintStatsSummary()
2031 for (auto naccess_level : caller_level_num_access_map[caller.first]) { in PrintStatsSummary()
2034 naccess_level.first, naccess_level.second, in PrintStatsSummary()
2038 caller_to_string(caller.first).c_str()); in PrintStatsSummary()
2039 for (auto naccess_type : caller_bt_num_access_map[caller.first]) { in PrintStatsSummary()
2043 block_type_to_string(naccess_type.first).c_str(), in PrintStatsSummary()