I'm trying to distinguish whether or not two events are being processed on the same game frame. Is there way way I can get how many frames have been processed since the beginning of the game?

Oh yeah cool I see there's a get_frames_drawn() function in there- didn't know that!