Article View: comp.arch
Article #23439Re: Win95 performance counter interface?
From: LKS
Date: Wed, 02 Dec 1998 00:00
Date: Wed, 02 Dec 1998 00:00
25 lines
1848 bytes
1848 bytes
jwes@oro.net wrote: > > On 28 Nov 1998 15:49:11 GMT, LKS <lk213@hermes.cam.ac.uk> wrote: > > >Brandon Van Every wrote: > >> > >> Does Win95 have an API interface to SET UP the Pentium II performance > >> counters? i.e. a built-in method to indirectly execute the Ring 0 WRMSR > >> instruction? > > > >you can use the Win32 API > > > > QueryPerformanceCounter > > QueryPerformanceFrequency > I suspect he is looking for the other performance counters, such as > cache misses, etc. If there is not one built-in (or documented), it > would be a trivial VxD. I'd like to see a VxD which could intercept processoer cache misses, branch prediction failures etc. ;) I think the P II supports grabbing all this extra info but I know no more. -lks
Technical Details
Message-ID:
<742ipp$gm8$6@winter.news.rcn.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<72kj98$lpj$1@autumn.news.rcn.net> <73p61n$3tr$1@winter.news.rcn.net> <73ppdc$bif$1@winter.news.rcn.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9d87,80c509bc716c6415 X-Google-Attributes: gidf9d87,public X-Google-Thread: 110292,80c509bc716c6415 X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,80c509bc716c6415 X-Google-Attributes: gid102b75,public X-Google-Thread: 114917,80c509bc716c6415 X-Google-Attributes: gid114917,public From: LKS <lk213@hermes.cam.ac.uk> Subject: Re: Win95 performance counter interface? Date: 1998/12/02 Message-ID: <742ipp$gm8$6@winter.news.rcn.net> X-Deja-AN: 417743599 Content-Transfer-Encoding: 7bit Approved: <johnfine@erols.com> References: <72kj98$lpj$1@autumn.news.rcn.net> <73p61n$3tr$1@winter.news.rcn.net> <73ppdc$bif$1@winter.news.rcn.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@rcn.com X-Trace: cT23n6Yxuc5+Wb01PtgQlJ9qsUFivAEWgraO50dXeTQ= Organization: University of Cambridge, England Mime-Version: 1.0 NNTP-Posting-Date: 2 Dec 1998 05:22:01 GMT Newsgroups: comp.arch,comp.lang.asm.x86,comp.sys.intel,intel.microprocessors.pentium_ii