> On Mon, Dec 17, 2007, Amos Jeffries wrote:
>
>>
>> Adrian, I've tried to do some profiling myself recently but am stuck
>> getting those nice stats you post out of it. (Last time I did profiling
>> was in VisualStudio).
>>
>> Could you send me or the list a how-to on using the cpu-profiling
>> feature,
>> from enable to viewing stats please?
>
> * install linux
pre-done :-)
> * install oprofile
ah, thats why I couldn't find 'profile'.

> * read the docs
> * then, find the wiki page outlining how its done. :)

this?
http://wiki.squid-cache.org/LinuxOprofile

>
> I've been meaning to write a shim or two to overload the -pg feature in
> GCC -
> it'll call your function enter/exit stubs with some stack information -
> so I can generate call graphs inside Squid without having to do the
> inaccurate
> gprof time profiling.

That went right over my head, all but the 'expensive ... time profiling'
which kind of sticks to something from wayback.

Thans

Amos


Reply via email to