RE: How to time in Kernel

2001-05-24 Thread David Schwartz
> 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. If this is for personal debugging use only and you have a Pentium or better x86 processor, I recommend reading the TSC directly. 'm

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