MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / regTimeRatio

Method regTimeRatio

src/tests/performance/PerformanceRecorder.cpp:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void
79PerformanceRecorder::regTimeRatio(BlasFunction fn, double ratio)
80{
81 int id = static_cast<int>(fn);
82
83 records_[id].timeRatio += ratio;
84 records_[id].nrRatios++;
85}
86
87gflops_t
88PerformanceRecorder::etalonAvgPerf(BlasFunction fn)

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected