How to detect performance bottleneck?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
happycoding
Posts: 31
Joined: Sun Jan 22, 2006 2:24 am

How to detect performance bottleneck?

Post by happycoding »

I want to optimize "PMP Mod 1.01" for AVC decoder (it's only 8fps for 480*272 600kbps AVC now), and I know I can set two time counters (one for total run time, one for a target function's total run time) to try to catch the bottle neck function (eg. H264_decoder_frame). But I prefer to find a general solution: record every functions' call times/total run times for better performance tuning. Actually I did it in windows by using Microsoft's Visual C++.

My questions: Is there any similar tools/run-time-options for it? Maybe PSPDEV has already supported it?

Thank you!
weak
Posts: 114
Joined: Thu Jan 13, 2005 8:31 pm
Location: Vienna, Austria

Post by weak »

you might wanna take a look at samples/debug/profiler
happycoding
Posts: 31
Joined: Sun Jan 22, 2006 2:24 am

Post by happycoding »

Actually I am looking forward to the similar tool mentioned in http://forums.ps2dev.org/viewtopic.php?p=35127, which is for PS2. Has PSPSDK similar tool/feature?
Post Reply