I am currently using
(1) opencv cvGetTickCount() and cvGetTickFrequency() to measure gross (total also due to others) time from one instruction execution to another
Basically they depend on the machione. On a Pentium they read the Pentium TSC to get a clock count
(2) clock() to measure process (but guess not of single thread) net time spent
What I need is
(3)
functions to measure CPU net usage by a single thread, from one instruction to another, a net time that is not counting time used by any other thread or process