MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / run

Method run

libCacheSim/mrcProfiler/mrcProfiler.cpp:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void mrcProfiler::MRCProfilerSHARDS::run() {
81 if (has_run_) return;
82
83 if (params_.shards_params.enable_fix_size) {
84 fixed_sample_size_run();
85 } else {
86 fixed_sample_rate_run();
87 }
88
89 has_run_ = true;
90}
91
92void mrcProfiler::MRCProfilerSHARDS::fixed_sample_rate_run() {
93 // 1. init

Callers

nothing calls this directly

Calls 10

new_requestFunction · 0.85
create_spatial_samplerFunction · 0.85
set_spatial_sampler_saltFunction · 0.85
read_one_reqFunction · 0.85
reset_readerFunction · 0.85
free_requestFunction · 0.85
create_cacheFunction · 0.50
sampleMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected