add used time logging for each frame