Lines Matching refs:stats

2028             std::string stats;  in FinishedOps()  local
2033 &stats)) in FinishedOps()
2034 fprintf(stderr, "%s\n", stats.c_str()); in FinishedOps()
2041 &stats)) { in FinishedOps()
2042 if (stats.find("# entries=0") == std::string::npos) { in FinishedOps()
2044 stats.c_str()); in FinishedOps()
2051 if (db->GetProperty("rocksdb.stats", &stats)) { in FinishedOps()
2052 fprintf(stderr, "%s\n", stats.c_str()); in FinishedOps()
2059 &stats)) { in FinishedOps()
2060 if (stats.find("# entries=0") == std::string::npos) { in FinishedOps()
2061 fprintf(stderr, "Level[%d]: %s\n", level, stats.c_str()); in FinishedOps()
2241 Stats stats; member
3227 Stats stats = RunBenchmark(num_threads, name, method); in Run() local
3228 combined_stats.AddStats(stats); in Run()
3312 thread->stats.Start(thread->tid); in ThreadBody()
3314 thread->stats.Stop(); in ThreadBody()
3372 arg[i].thread->stats.SetReporterAgent(reporter_agent.get()); in RunBenchmark()
3392 merge_stats.Merge(arg[i].thread->stats); in RunBenchmark()
3415 thread->stats.FinishedOps(nullptr, nullptr, 1, kCrc); in Crc32c()
3421 thread->stats.AddBytes(bytes); in Crc32c()
3422 thread->stats.AddMessage(label); in Crc32c()
3434 thread->stats.FinishedOps(nullptr, nullptr, 1, kHash); in xxHash()
3440 thread->stats.AddBytes(bytes); in xxHash()
3441 thread->stats.AddMessage(label); in xxHash()
3449 thread->stats.AddMessage("(each op is 1000 loads)"); in AcquireLoad()
3455 thread->stats.FinishedOps(nullptr, nullptr, 1, kOthers); in AcquireLoad()
3478 thread->stats.FinishedOps(nullptr, nullptr, 1, kCompress); in Compress()
3482 thread->stats.AddMessage("(compression failure)"); in Compress()
3487 thread->stats.AddMessage(buf); in Compress()
3488 thread->stats.AddBytes(bytes); in Compress()
3561 thread->stats.FinishedOps(nullptr, nullptr, 1, kUncompress); in Uncompress()
3565 thread->stats.AddMessage("(compression failure)"); in Uncompress()
3567 thread->stats.AddBytes(bytes); in Uncompress()
4367 thread->stats.AddMessage(msg); in DoWrite()
4488 thread->stats.ResetLastOpTime(); in DoWrite()
4493 thread->stats.FinishedOps(db_with_cfh, db_with_cfh->db, in DoWrite()
4499 if (now > thread->stats.GetSineInterval()) { in DoWrite()
4500 usecs_since_last = now - thread->stats.GetSineInterval(); in DoWrite()
4508 static_cast<double>(now - thread->stats.GetStart()); in DoWrite()
4509 thread->stats.ResetSineInterval(); in DoWrite()
4525 thread->stats.AddBytes(bytes); in DoWrite()
4852 thread->stats.FinishedOps(nullptr, db, 1, kRead); in ReadSequential()
4864 thread->stats.AddBytes(bytes); in ReadSequential()
4866 thread->stats.AddMessage(std::string("PERF_CONTEXT:\n") + in ReadSequential()
4914 thread->stats.FinishedOps(db_with_cfh, db_with_cfh->db, 1, kRead); in ReadToRowCache()
4921 thread->stats.AddBytes(bytes); in ReadToRowCache()
4922 thread->stats.AddMessage(msg); in ReadToRowCache()
4925 thread->stats.AddMessage(std::string("PERF_CONTEXT:\n") + in ReadToRowCache()
4946 thread->stats.FinishedOps(nullptr, db, 1, kRead); in ReadReverse()
4956 thread->stats.AddBytes(bytes); in ReadReverse()
4997 thread->stats.FinishedOps(nullptr, db, 100, kRead); in ReadRandomFast()
5005 thread->stats.AddMessage(msg); in ReadRandomFast()
5008 thread->stats.AddMessage(std::string("PERF_CONTEXT:\n") + in ReadRandomFast()
5091 thread->stats.FinishedOps(db_with_cfh, db_with_cfh->db, 1, kRead); in ReadRandom()
5098 thread->stats.AddBytes(bytes); in ReadRandom()
5099 thread->stats.AddMessage(msg); in ReadRandom()
5102 thread->stats.AddMessage(std::string("PERF_CONTEXT:\n") + in ReadRandom()
5182 thread->stats.FinishedOps(nullptr, db, entries_per_batch_, kRead); in MultiReadRandom()
5188 thread->stats.AddMessage(msg); in MultiReadRandom()
5486 if (now > thread->stats.GetSineInterval()) { in MixGraph()
5487 usecs_since_last = now - thread->stats.GetSineInterval(); in MixGraph()
5495 static_cast<double>(now - thread->stats.GetStart()); in MixGraph()
5496 thread->stats.ResetSineInterval(); in MixGraph()
5539 thread->stats.FinishedOps(db_with_cfh, db_with_cfh->db, 1, kRead); in MixGraph()
5563 thread->stats.FinishedOps(db_with_cfh, db_with_cfh->db, 1, kWrite); in MixGraph()
5591 thread->stats.FinishedOps(db_with_cfh, db_with_cfh->db, 1, kSeek); in MixGraph()
5600 thread->stats.AddBytes(bytes); in MixGraph()
5601 thread->stats.AddMessage(msg); in MixGraph()
5604 thread->stats.AddMessage(std::string("PERF_CONTEXT:\n") + in MixGraph()
5616 thread->stats.FinishedOps(nullptr, db, 1, kOthers); in IteratorCreation()
5725 thread->stats.FinishedOps(&db_, db_.db, 1, kSeek); in SeekRandom()
5735 thread->stats.AddBytes(bytes); in SeekRandom()
5736 thread->stats.AddMessage(msg); in SeekRandom()
5738 thread->stats.AddMessage(std::string("PERF_CONTEXT:\n") + in SeekRandom()
5775 thread->stats.FinishedOps(nullptr, db, entries_per_batch_, kDelete); in DoDelete()
5820 thread->stats.SetExcludeFromMerge(); in BGWriter()
5867 thread->stats.FinishedOps(&db_, db_.db, 1, kWrite); in BGWriter()
5875 thread->stats.AddBytes(bytes); in BGWriter()
5912 thread->stats.FinishedOps(&db_, db_.db, 1, kSeek); in BGScan()
6039 thread->stats.FinishedOps(&db_, db_.db, 1, kRead); in RandomWithVerify()
6050 thread->stats.FinishedOps(&db_, db_.db, 1, kWrite); in RandomWithVerify()
6059 thread->stats.FinishedOps(&db_, db_.db, 1, kDelete); in RandomWithVerify()
6067 thread->stats.AddMessage(msg); in RandomWithVerify()
6107 thread->stats.FinishedOps(nullptr, db, 1, kRead); in ReadRandomWriteRandom()
6118 thread->stats.FinishedOps(nullptr, db, 1, kWrite); in ReadRandomWriteRandom()
6125 thread->stats.AddMessage(msg); in ReadRandomWriteRandom()
6168 thread->stats.FinishedOps(nullptr, db, 1, kUpdate); in UpdateRandom()
6173 thread->stats.AddBytes(bytes); in UpdateRandom()
6174 thread->stats.AddMessage(msg); in UpdateRandom()
6221 thread->stats.FinishedOps(nullptr, db, 1); in XORUpdateRandom()
6226 thread->stats.AddMessage(msg); in XORUpdateRandom()
6275 thread->stats.FinishedOps(nullptr, db, 1, kUpdate); in AppendRandom()
6281 thread->stats.AddBytes(bytes); in AppendRandom()
6282 thread->stats.AddMessage(msg); in AppendRandom()
6324 thread->stats.FinishedOps(nullptr, db_with_cfh->db, 1, kMerge); in MergeRandom()
6330 thread->stats.AddBytes(bytes); in MergeRandom()
6331 thread->stats.AddMessage(msg); in MergeRandom()
6367 thread->stats.FinishedOps(nullptr, db, 1, kMerge); in ReadRandomMergeRandom()
6381 thread->stats.FinishedOps(nullptr, db, 1, kRead); in ReadRandomMergeRandom()
6390 thread->stats.AddMessage(msg); in ReadRandomMergeRandom()
6397 thread->stats.Start(thread->tid); in WriteSeqSeekSeq()
6409 thread->stats.FinishedOps(nullptr, db, 1, kSeek); in WriteSeqSeekSeq()
6419 thread->stats.FinishedOps(nullptr, db, 1, kSeek); in WriteSeqSeekSeq()
6424 thread->stats.FinishedOps(nullptr, db, 1, kSeek); in WriteSeqSeekSeq()
6579 thread->stats.FinishedOps(nullptr, db_.db, 1, kOthers); in RandomTransaction()
6591 thread->stats.AddMessage(msg); in RandomTransaction()
6594 thread->stats.AddMessage(std::string("PERF_CONTEXT:\n") + in RandomTransaction()
6597 thread->stats.AddBytes(static_cast<int64_t>(inserter.GetBytesInserted())); in RandomTransaction()
6670 thread->stats.FinishedOps(nullptr, db, 1, kOthers); in RandomReplaceKeys()
6678 thread->stats.AddMessage(msg); in RandomReplaceKeys()
6727 thread->stats.FinishedOps(&db_, db_.db, 1, kDelete); in TimeSeriesReadOrDelete()
6734 thread->stats.FinishedOps(&db_, db_.db, 1, kRead); in TimeSeriesReadOrDelete()
6754 thread->stats.AddBytes(bytes); in TimeSeriesReadOrDelete()
6755 thread->stats.AddMessage(msg); in TimeSeriesReadOrDelete()
6757 thread->stats.AddMessage(std::string("PERF_CONTEXT:\n") + in TimeSeriesReadOrDelete()
6768 thread->stats.SetExcludeFromMerge(); in TimeSeriesWrite()
6812 thread->stats.FinishedOps(&db_, db_.db, 1, kWrite); in TimeSeriesWrite()
6813 thread->stats.AddBytes(bytes); in TimeSeriesWrite()
6830 thread->stats.Stop(); in TimeSeries()
6831 thread->stats.Report("timeseries write"); in TimeSeries()
6907 std::string stats; in PrintStats() local
6908 if (!db->GetProperty(key, &stats)) { in PrintStats()
6909 stats = "(failed)"; in PrintStats()
6911 fprintf(stdout, "\n%s\n", stats.c_str()); in PrintStats()