Performance Monitoring Counters (PMC, PERFCTRS) and SMP?
"Greg A. Woods" <[email protected]> Sat, 15 Oct 2011 20:32:26 -0700
| Newsgroups | gmane.os.netbsd.devel.smp,gmane.os.netbsd.current |
|---|---|
| Message-ID | <[email protected]> |
--pgp-sign-Multipart_Sat_Oct_15_20:32:26_2011-1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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.) --=20 Greg A. Woods +1 250 762-7675 RoboHack <[email protected]> Planix, Inc. <[email protected]> Secrets of the Weird <[email protected]> --pgp-sign-Multipart_Sat_Oct_15_20:32:26_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (NetBSD) iD8DBQBOmlBKZn1xt3i/9H8RAjJ8AJ9yIBZUs+5BovS1dxk3Y3qYxuo9fgCeL5uM GHq5l8o36DuJ3+/EsI9gjoU= =dePP -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sat_Oct_15_20:32:26_2011-1--