How about something like this?
That's a reasonable idea, and it might just work. It might also have too much overhead to run fast enough to get a good sampling rate. At the very least it could be a good way to get the curcop-logging and subroutine-name resolution code working without tackling the interupt handler.
My own notion of a neat profiler for perl would make use of the performance counter registers of modern processors. I've worked on that some. Maybe I should resurrect that project.
That sounds very interesting. Can you suggest any reading material on the subject?
Thanks,
-sam
In reply to Re: Re: Dreaming of a Better Profiler
by samtregar
in thread Dreaming of a Better Profiler
by samtregar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |