MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / RunBenchmarks

Function RunBenchmarks

tensorflow/core/platform/default/test_benchmark.cc:284–284  ·  view source on GitHub ↗

TODO(vrv): Add support for running a subset of benchmarks by having RunBenchmarks take in a spec (and maybe other options such as benchmark_min_time, etc).

Source from the content-addressed store, hash-verified

282// RunBenchmarks take in a spec (and maybe other options such as
283// benchmark_min_time, etc).
284void RunBenchmarks() { Benchmark::Run("all"); }
285void SetLabel(const std::string& l) { label = l; }
286void BytesProcessed(int64 n) { bytes_processed = n; }
287void ItemsProcessed(int64 n) { items_processed = n; }

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 1

RunFunction · 0.50

Tested by

no test coverage detected