How to time in Kernel

2001-05-23 Thread Srinivasan Venkatraman
Hi, I am trying to time a portion of code inside the kernel. How do I do it? Can I use do_gettimeofday ? or do_getitimer ? Any leads will be appreciated. Thanks in advance, -Srini. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PRO

Question on accessing /proc

2001-04-09 Thread Srinivasan Venkatraman
Hi, I am new to this list. I did go through the FAQ before posting this question. I have a specific requirment - creating,modifying and deleting data structures inside the kernel values of which will be passed by an user application. I know we could do this by writing a system call or by ioctl