Timer with more accuracy than 15.625 milliseconds?

Login to reply to this topic.
Mon, 2005-01-31 21:50
Joined: 2004-11-21
Forum posts: 16
Does anyone know a timer with more accuracy than 15.625 milliseconds?


That's a very long time when you are trying to profile code! Aren't there any instruction counters or performance counter you can query, at least in debug?

Tue, 2005-02-01 02:35
Joined: 2004-09-25
Forum posts: 75
Re: Timer with more accuracy than 15.625 milliseconds?
Quote from: fdave
Does anyone know a timer with more accuracy than 15.625 milliseconds?

That's a very long time when you are trying to profile code! Aren't there any instruction counters or performance counter you can query, at least in debug?

Under the emulator, you can use Windows Multimedia API (timeGetTime). On the handset, probably nothing.

Good luckl
-Slava
Wed, 2005-02-02 08:33
Joined: 2005-02-01
Forum posts: 36
Timer with more accuracy than 15.625 milliseconds?
Could one use gprof to profile on windows using emulator?
Wed, 2005-02-02 09:20
Joined: 2004-09-25
Forum posts: 75
Timer with more accuracy than 15.625 milliseconds?
Quote from: jkekoni
Could one use gprof to profile on windows using emulator?
You can profile emulator on Windows like any other Win32 program. Of course it won't be 100% accurate because the code is compiled by a different compiler. But if you have a big performance problem, and the problem is in your code, not in system code, then it might help. I wouldn't be overly optimistic about it, but it's worth a try.

-Slava
Fri, 2005-02-04 01:28
Joined: 2004-11-21
Forum posts: 16
Re: Timer with more accuracy than 15.625 milliseconds?
Quote from: Slava Monich
Quote from: fdave
Does anyone know a timer with more accuracy than 15.625 milliseconds?

That's a very long time when you are trying to profile code! Aren't there any instruction counters or performance counter you can query, at least in debug?

Under the emulator, you can use Windows Multimedia API (timeGetTime). On the handset, probably nothing.

Good luckl
-Slava

Isn't that (yet another) rather glaring Symbian oversight :-/
  • Login to reply to this topic.