PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

profiling code for optimization

ey,

how do you profile your code? i don't have vtune. and i tried vc++ profiler, but it doesn't seem to reach the important functions i want to profile.

for now, i only use a crude method: timing a function while looping it a thousand times. this works fine if i'm optimizing a few lines of code or a single function. but it doesn't help much identifying bottlenecks.

any suggestions?
thanks..

happy new year!!
i'm looking for a PocketPC native profiler. there is a vtune data collector for PocketPC2002 but it expects some build settings in the OS, which only very few devices have (needless to say that mine do not...)

if you find something i'd be glad to hear about it,

thanks,
DANIEL
drgoldie wrote:
i'm looking for a PocketPC native profiler. there is a vtune data collector for PocketPC2002 but it expects some build settings in the OS, which only very few devices have (needless to say that mine do not...)

Well, at least the static analyzer of VTune should work, shouldn't it? At least for the CG stuff I did previously, high-level benchmarking and static analysis of low level functions turned out to be much more useful than dynamic sampling. But, of course, it depends on the specific question you are trying to answer.

- Martin