Ok, I'l bite...

But here, how does one obtain the clock resolution easily? sysconf() is broken and clock_getres() is also, at least at the sub-us level, plus it requires users link with -lrt. If we go the latter route, at least the value should be correct...not what it is now.

There must be a better answer...another sysfs file?

Phil

On Jul 7, 2008, at 8:29 PM, Corey J Ashford wrote:

Having dealt with this sort of "request some interval value and pray" interface in the past, I'd much prefer the
idea of using a multiple of an obtainable clock resolution.

- Corey

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to