Date: Thu, 28 Mar 1996 12:39:47 -0800 (PST) From: Garrett Wollman <wollman> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 perfmon.c src/sys/i386/include cpufunc.h Message-ID: <199603282039.MAA02068@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wollman 96/03/28 12:39:47 Modified: sys/i386/i386 perfmon.c Log: Nit: according to the Harvard code, it is necessary to clear the timestamp counter before loading the performance-monitor control register. I'm not sure I believe this, but we'll follow their lead for the moment. As a result of this commit, the performance-monitoring test program that I wrote now works (the program will find its way to share/examples). Revision Changes Path 1.3 +19 -8 src/sys/i386/i386/perfmon.c Modified: sys/i386/include cpufunc.h Log: >Blush<. Use the correct opcode for the WRMSR instruction. Revision Changes Path 1.47 +2 -2 src/sys/i386/include/cpufunc.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603282039.MAA02068>
