Re: measuring response time of a process

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

 



Dear Filip...

> 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?

You mean, something like this scenario?
An user start vi. You want to measure the time how fast Vi response 
keypress (let's say character "a"), from the time it is pressed right 
until it is showed on Vi display?

If yes, you are measuring --> interrupt acknowledgment + bottom halves 
execution time + putting back Vi process to run queue + Vi re 
scheduling

More detailed information on what you want to achieve would be helpful 
for us....

regards

Mulyadi



--
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