http://www.perlmonks.org?node_id=356484


in reply to Dreaming of a Better Profiler

Could you use the alarm function from Time::HiRes to generate an "interrupt" (actually a signal) every Nth of a second?

Replies are listed 'Best First'.
Re: Re: Dreaming of a Better Profiler
by samtregar (Abbot) on May 26, 2004 at 14:43 UTC
    Not if the process being profiled wants to use alarms. Unfortunately there's only one available per process.

    -sam