I am using Delphi XE6. Often while stepping through code i'd like to trace where the CPU is being used, at least approximately.
I have AQtime but have been unable to get it running with my (large) application without getting lots of errors, and it seems overly complex for what i need.
My thought is that it would be very nice if the IDE ran a timer when executing my program , and could give me deltas whenever it pauses (whether by breakpoint, F4, F7 or F8). Through judicious use of this I should get a good idea of which functions etc in my code need speed improvement. I do this now approximately by judging where a slowdown is, but if its in a function called a zillion times taking a couple of ms my judgement fails me, eg:
for i := 1 to 1000 do
begin
fastfunction1; // takes 1ms
fastfunction2; // takes 1ms
slowfunction; // takes 20ms!!! If I was able to see this while stepping over it...
fastfunction3; // takes 1ms
end;
Has anyone seen a plugin for the IDE that might do this? Or would it be hard to write one?
Thanks, Chris