End recording and calculate final results.
RenderThreadStats with calculated stats.
if start was not called before.