Hi Res Clock for Profiling

Any chance of getting a hi res clock in the simulator for profiling?
With a milli level clock, all my routines come back 0 time. :slight_smile:

[import]uid: 41667 topic_id: 11606 reply_id: 311606[/import]

huh?

c. [import]uid: 24 topic_id: 11606 reply_id: 42167[/import]

If you have a few functions in your main/per frame update, and you want to try and profile to see where you are spending most of your time, all you have to work with, as far as I know, is the system.getTimer() call. You call it at the beginning of each function, and again at the end to see how long each function is taking. But at millisecond resolution, you get back that each routine took 0 time to execute. It would take at a higher resolution (like microsecond) to get useful information. It seems like a normal thing to want to do. Of course, thatโ€™s just my opinion, I could be wrong. :slight_smile:

[import]uid: 41667 topic_id: 11606 reply_id: 42178[/import]