Matthias Clasen
|
767966933d
|
gsk: Redo the sampling in the profiler
Reset the min/max/average counters before calculating,
and only print the values if we have samples. In addition,
print the number of samples.
|
2017-09-28 10:25:49 -04:00 |
|
Matthias Clasen
|
cfbd6b4b99
|
gsk: Add a way to reset profiler counters
It is often useful to count things per-frame, and reset
the counter afterwards.
|
2017-09-25 20:58:10 -04:00 |
|
Matthias Clasen
|
816b47d70d
|
gsk: Make profiler counters more useful
Make it possible to have counters that get incremented
by values other than 1.
|
2017-09-25 17:03:06 -04:00 |
|
Emmanuele Bassi
|
005fea59b6
|
gsk: Add profiler object
The GskProfiler holds counters and timers, and will be used by the
renderer implementations to acquire frame timings.
|
2016-10-18 11:49:10 +01:00 |
|