Re: a Q on measuring system performance.

2005-03-25 Thread Dan Nelson
In the last episode (Mar 24), Yan Yu said: > I add some codes in various places relating to file operations inside > the kernel, e.g., fdalloc(), fdused(), fdunused(), fdfree() etc. I am > trying to measure the overhead added by these instrumentation code. > my plan is: > in my user space program

Re: a Q on measuring system performance.

2005-03-25 Thread Peter Jeremy
On Thu, 2005-Mar-24 23:21:54 -0800, Yan Yu wrote: >I am trying to measure the overhead added by these instrumentation code. >my plan is: > in my user space program, i have something like the following: > >gettimeofday(&prev_time, NULL); >

a Q on measuring system performance.

2005-03-24 Thread Yan Yu
Hello, all, I add some codes in various places relating to file operations inside the kernel, e.g., fdalloc(), fdused(), fdunused(), fdfree() etc. I am trying to measure the overhead added by these instrumentation code. my plan is: in my user space program, i have something like the following: -