Make this mess of performance measuring a bit more readable
This commit is contained in:
parent
12c92d6dd0
commit
92525cd077
|
@ -172,7 +172,7 @@ struct GPUTimer
|
||||||
if (++counter < iter)
|
if (++counter < iter)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
qDebug() << " Avg. GPU time:" << ((double) acc / (iter * 1000 * 1000)) << "ms";
|
qDebug() << " Avg. GPU time:" << ((double) acc / (iter * 1000 * 1000)) << "ms";
|
||||||
acc = counter = 0;
|
acc = counter = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue