16 Oct 2011 05:32
Performance Monitoring Counters (PMC, PERFCTRS) and SMP?
Greg A. Woods <woods <at> planix.com>
2011-10-16 03:32:26 GMT
2011-10-16 03:32:26 GMT
Is anyone by any chance working on SMP support for PMC / PERFCTRS? Apparently FreeBSD is now able to support PMC on SMP machines, but I can't find any hint of anything related for NetBSD. I ask mostly because I'm flustered by getrusage(2) being as good as useless for even the most basic of benchmarking purposes, and gettimeofday() also being useless in a multi-user environment. I guess a second question might be if anyone's thought of pulling over FreeBSD's fix, or re-implementing something similar, to at least make getrusage() monotonic? (on a related note, does anyone know of any decent CPU measurement tool for use inside a process on OS X? getrusage() is broken there too.) -- -- Greg A. Woods +1 250 762-7675 RoboHack <woods <at> robohack.ca> Planix, Inc. <woods <at> planix.com> Secrets of the Weird <woods <at> weird.com>

RSS Feed