Resending/Forwarding message due to mail-delivery failure ! On 11/13/05, Filip Iliescu <djpriya@xxxxxxxxx> wrote: > If you wanted to measure the response time (the time between input and > the first response by process, not necessarily the first output) how > would you do it? Hopefully Ive defined resonse time correctly. Would > this be the first context switch or first interrupt thats triggered, > or is it the time it takes for a process to respond to an interupt? > What do you mean by saying "If __you__ wanted to measure response time" ? :) Can you please more elaborate what you want to ask ? Are you talking about user space process or in kernel space process/thread? And what do you mean by input and first response by process ? And also what do you mean by first context switch/interrupt or so ? By the way you can consult this doc in which a example code is given for measuring a response time of doing some operation or system call http://www.linux.it/~rubini/docs/ksys/ksys.html -- Fawad Lateef -- Fawad Lateef -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/