RE: effects of measurement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Jul 2002, Jonathan Khoo wrote:

> > from measuring the timings. There is no way around that. 
> > However, by just storing the timings in a memory buffer to be 
> > retrieved later (say, through a character device, ioctl, 
> > /proc file, sysctl, or your own filesystem) _AFTER_ you are 
> > done doing whatever it is you care about, ought to help your 
> > timing immensely.

We do something similar with a char device driver called Data Stream
Kernel Interface, but overall our driver allows active data streams,
passive data streams, counters and histograms for kernel
instrumentation.

You might want to check http://www.ittc.ukans.edu/datastream/ for it.
The pages might be outdated, but I might be able to help you get a patch
for recent kernels. I have a patch ready for 2.2.18. And I think a few
students have ported it to 2.4.x.

-- 
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R): +1-785-830-8521 ||| (C): +1-785-760-2871
____________________________________________________

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux