Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Dreaming of a Better Profiler

by toma (Vicar)
on May 26, 2004 at 15:39 UTC ( #356611=note: print w/replies, xml ) Need Help??


in reply to Dreaming of a Better Profiler

Even though it was designed for audio work, JACK will provide you with a real-time framework that has low-latency interrupts. Use it with a low-latency linux kernel.

I've used it for C++ profiling, it works great. You could use the same technique with perl.

Since I'm a hardware guy, I flip a bit on the parallel port at the entrance and the exit of the process, and watch the duty cycle of the waveform with an oscilloscope. You could use a cheap voltmeter to do the same trick, just add a resistor and capacitor to convert the pulse widths into a DC voltage.

It should work perfectly the first time! - toma

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://356611]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2021-10-22 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?