How can I get the starttime and rendertime of every frame