PDA

View Full Version : Performance Analyzer ?


corpusfugit
November 20th, 2008, 08:05
Hi Everyone,

I was wondering there's actually a way of having a way of having a small Performance Analyzer with Olly.

I don't want the full Vtune kind of features, but have someone find a way to set for instance a log breakpoint on each procedure of the target you're debugging ?
I haven't found a plugin either doing it ?

The basic would be to have like a small hit counter on each procedures within the target or specify also a procedure you'd like to watch and see how many time of spend in this procedure.

Or do you have to look into developping a plugin for this ?
Thanks !

blabberer
November 20th, 2008, 14:26
i dont understand why this performance need to be analyzed
do you have some constant that was derived from some prior experiments to multiply with

the code that's runiing in a debugger tends to take a bit more time than usually it would take outside of debugger

no i dont mean single stepping

i mean the code that's executed with g, f9 , etc will still hold some latency

i m not aware if there is a plugin of sorts for that

but it should be possible to cook one

some thing like

FindAllProcedures() Findprocbegin() findProcEnd() , getproclimits etc Set conditional breaks on them and in Pausedex handler

run timers on entry and exit

but the least count of window timer apis arent that great i think not sure

xenakis
November 20th, 2008, 14:49
Not an Ollydbg plugin like you are looking for, but a relevant discussion worth reading...

http://www.woodmann.com/forum/showthread.php?t=11306

corpusfugit
November 28th, 2008, 03:20
Hi Guys,
Thanks for your answers !
blabberer I fully agree that is not a good idea to do this for "real" performance analyser.
What i had in mind was just to get rough pictures of time consuming functions, for instance in a dll you don't have the source for, or that kind of things.
And i'll check the tread you're referring to xenakis