Article View: comp.arch
Article #23434Re: Win95 performance counter interface?
From: jwes
Date: Wed, 09 Dec 1998 00:00
Date: Wed, 09 Dec 1998 00:00
30 lines
2044 bytes
2044 bytes
On 30 Nov 1998 15:00:06 GMT, mlm@kt.dtu.dk (michael) wrote: >In article <73ppdc$bif$1@winter.news.rcn.net>, jwes@oro.net says... >> >>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. > >... a fairly trivial VxD....This is a fairly useless response. I guess that >he (like I am) is asking for a piece of code that does the job. > > I did a quick search of the vxd address space for a WRMSR instruction, and didn't find any. So it looks like you'll have to write your own if you want one.
Technical Details
Message-ID:
<74m1td$i5g$1@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> <73ubtm$6v1$1@winter.news.rcn.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,80c509bc716c6415 X-Google-Attributes: gid102b75,public X-Google-Thread: 110292,80c509bc716c6415 X-Google-Attributes: gid110292,public X-Google-Thread: f9d87,80c509bc716c6415 X-Google-Attributes: gidf9d87,public X-Google-Thread: 114917,80c509bc716c6415 X-Google-Attributes: gid114917,public From: jwes@oro.net Subject: Re: Win95 performance counter interface? Date: 1998/12/09 Message-ID: <74m1td$i5g$1@winter.news.rcn.net> X-Deja-AN: 420439526 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> <73ubtm$6v1$1@winter.news.rcn.net> X-Trace: 2gM6H2W2c9jlatQMP1FXGqYkP2JkpqjdlUokloVLfGs= Organization: oronet, Penn Valley, C X-Server-Date: 9 Dec 1998 06:35:13 GMT NNTP-Posting-Date: 9 Dec 1998 14:36:29 GMT Newsgroups: comp.arch,comp.lang.asm.x86,comp.sys.intel,intel.microprocessors.pentium_ii X-Mozilla-Status: 0801 X-Complaints-To: abuse@rcn.com