>> I have read the perfmon documentation and source code. For several
>> reasons, I do not think it is totally adequate in my situation.
>>
>> It was designed in 1996 with the Pentium Pro in mind, which,
>> apparently, only has two performance counters:
>>
>> #define NPMC 2
>> if (pmc < 0 || p
On Wed, Oct 01, 2003 at 11:39:36AM +0200, Grumble wrote:
> I have read the perfmon documentation and source code. For several
> reasons, I do not think it is totally adequate in my situation.
>
> It was designed in 1996 with the Pentium Pro in mind, which,
> apparently, only has two performance
On Thu, Oct 02, 2003 at 02:57:03PM +0200, Grumble wrote:
> Is vm86 related to virtual-8086 mode? Probably not... What does vm86
> stand for? Virtual machine?
vm86 is something of a catchall for vm86-related functions. One of the
things it implements is a means of getting in and out of Virtual 808
Bruce M Simpson wrote:
> Now that I think on this a bit more, a sysctl might be a better place to
> put this, but it seemed to belong with the i386_vm86() bits, rather than
> polluting initcpu.c right away.
The important thing is to allow the kernel to intermediate and
control allocation of counte
Bruce M Simpson wrote:
> On Wed, Oct 01, 2003 at 11:39:36AM +0200, Grumble wrote:
> > >>However, I am not allowed to use the RDPMC instruction from ring 3
> > >>because the PCE (Performance-monitoring Counters Enable) bit is not set.
> > >
> > >You can do it with /dev/perfmon. man 4 perfmon.
> >
>
I have read the perfmon documentation and source code. For several
reasons, I do not think it is totally adequate in my situation.
This is an extension to the i386_vm86() syscall which will let you turn
PCE on and off if you're the superuser.
Now that I think on this a bit more, a sysctl might be
[crossposting trimmed]
On Wed, Oct 01, 2003 at 12:41:56PM +0100, Bruce M Simpson wrote:
> > I have read the perfmon documentation and source code. For several
> > reasons, I do not think it is totally adequate in my situation.
> This is an extension to the i386_vm86() syscall which will let you t
On Wed, Oct 01, 2003 at 11:39:36AM +0200, Grumble wrote:
> >>However, I am not allowed to use the RDPMC instruction from ring 3
> >>because the PCE (Performance-monitoring Counters Enable) bit is not set.
> >
> >You can do it with /dev/perfmon. man 4 perfmon.
>
> I have read the perfmon documentat
[ First posted to freebsd-questions and freebsd-ia32 ]
[ Add freebsd-hackers which I hope is appropriate]
The References: and In-Reply-To: headers are missing from this
message. If your mail client does not thread it correctly, please
accept my apologies. Before mailman, I could display messa
9 matches
Mail list logo