On 20 Feb 2003, at 8:14, Robert Collins <[EMAIL PROTECTED]> wrote:
> The problem I have is that I need to profile routines that reenter.
maybe we should extend xprof so that recursive enter is counted
but does not restart clock? Then, combined time spent in recursive
call is shared between inv
On Thu, 2003-02-20 at 05:37, Andres Kroonmaa wrote:
> Robert,
>
> What are you after? prof shows garbage.
Ill consider testing done too late at night!
The problem I have is that I need to profile routines that reenter.
> Also note that things change dramatically
> when cpu becomes a bottle
Robert,
What are you after? prof shows garbage. Get the cpuProfiling to measure
what you want. Its no way xprof_* routines take up 2% of time, thats
ridiculous. They run 10-20 cpu opcodes max.
prof is also very intrusive into code, changing true cpu usage splits alot.
You may use it to get
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds secondscalls ms/call ms/call name
3.37 0.32 0.3233228 0.01 0.01 headersEnd
3.16 0.62 0.30 mem