Mulyadi Santosa wrote:
sandeep lahane wrote:
Hi
Can I write a user space program or a kernel module to measure the
context switch latency? I dont think this is possible from user space,
was just curious whether there is any simple way of measuring this
latency.
Google a program called Hourglass, it might give you ideas.... or
lmbench.
lmbench is a set of tools that comes with the tool lat_ctx. if you want
to measure context switch latency you should use lat_ctx
greatings
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/