[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Puzzling shark output



Scott:

On 02/03/2004, at 1:44 PM, Scott Stevenson wrote:

> If I'm interpreting this right, It looks like Shark has decided that 
> the ending curly bracket is taking 100% of the CPU time in this 
> method.
>
> http://treehouseideas.com/downloads/shark/shark1.jpg
>
> I'm having a hard time getting reasonable results from Shark. It 
> always highlights a single line at 100%, and the line is chooses 
> usually seems questionable. Once it chose a simple ++i operation and 
> labeled it 100%. This code is inside an embedded framework, if that 
> matters.

Select the line, then switch to assembly. That should get some lines 
selected in the assembly. Then, try double-clicking on the source 
column to see the corresponding source line.



Cheers, Glen Low


---
pixelglow software | simply brilliant stuff
www.pixelglow.com