Re: building async-calls

From: Amos Jeffries <squid3@dont-contact.us>
Date: Mon, 17 Dec 2007 17:04:56 +1300 (NZDT)

> 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
Received on Sun Dec 16 2007 - 21:05:00 MST

This archive was generated by hypermail pre-2.1.9 : Mon Dec 31 2007 - 12:00:03 MST