microsecond accurate (or better) slight timing linux


i need unequivocally accurate proceed tools program. i unchanging high-resolution time this, nonetheless relapse wallclock time, i need: i needthe spent controlling wholly process.



i clearly remember observant linux heart patch grant me processes nanosecond accuracy, solely i forgot bookmark i forgot name patch good :(.



i remember works though:



on each context switch, review out value high-resolution clock, supplement delta final twin values slight controlling process. produces high-resolution accurate perspective process' tangible slight time.



the unchanging slight kept controlling unchanging clock, i trust millisecond accurate (1000hz), many too infinite purposes.



does anyone know heart patch i'm articulate about? i also remember minute before after -- something 'rtimer' something, nonetheless i don't remember exactly.



(other suggestions acquire too)






the totally satisfactory scheduler suggested suggested marko i looking for, nonetheless looks promising. problem i have calls i slight still returning values granular enough.




  • times() returning values 21, 22, milliseconds.

  • clock() returning values 21000, 22000, same granularity.

  • getrusage() returning values 210002, 22001 (and somesuch), feeling have bit improved exactness nonetheless values feeling conspicuously same.



so problem i'm substantially carrying heart information i need, i only don't know component relapse it.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members