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

Method avgTimeRatio

src/tests/performance/PerformanceRecorder.cpp:140–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138
139
140double
141PerformanceRecorder::avgTimeRatio(BlasFunction fn)
142{
143 int id = static_cast<int>(fn);
144 double ratio = records_[id].timeRatio;
145
146 if (records_[id].nrRatios) {
147 ratio /= records_[id].nrRatios;
148 }
149
150 return ratio;
151}

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected