diff options
| author | Felipe Leme <felipeal@google.com> | 2015-12-21 09:55:22 -0800 |
|---|---|---|
| committer | Felipe Leme <felipeal@google.com> | 2016-01-05 13:03:07 -0800 |
| commit | 78f2c86235d5882a8dc84c85a1c1864062e5f3af (patch) | |
| tree | 95bf3ed134a2967aecfccc8c9fe2938a1c1e5e8e /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | 3c09d20086d74b80d28b8046d2058b2bdbb79b4f (diff) | |
Prints out how long it takes to generate each section.
It's done using a DurationReporter helper class that prints starts
counting when constructed and prints the duration when destructed.
Typical usage:
function do_something() {
DurationReporter duration_reporter(title);
// Do something.
}
Change-Id: I87134d9a1b003300384376c242a3c034a46244c4
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
