stop

Stop recording and calculate final results.

The cost of this call grows with the number of frames recorded since start, so prefer short sessions (see RenderThreadStatsRecorder).

Return

RenderThreadStats with calculated stats.

Throws

if start was not called before.