* Performance Counters
@ 1994-10-04 16:46 Amer Diwan
1994-10-04 19:51 ` Robert Abbott
0 siblings, 1 reply; 4+ messages in thread
From: Amer Diwan @ 1994-10-04 16:46 UTC (permalink / raw)
I am trying to use performance counters on an Alpha running OSF/1 v. 3.0 and
not having much luck. Basically, I cannot open the /dev/pfcntr for reading.
For instance, when I do a cat < /dev/pfcntr, I get the error "Invalid
Argument". When I do a ls -l of /dev/pfcntr, I find that I have both read and
write permission to the device and that the major/minor is 26/0.
Any suggestions?
Amer
--
------------------------------------------------------------------------------
Amer Diwan Department of Computer Science
Object Systems Lab University of Massachusetts
diwan@cs.umass.edu Amherst, MA 01003
(413) 545-0256
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Performance Counters
1994-10-04 16:46 Performance Counters Amer Diwan
@ 1994-10-04 19:51 ` Robert Abbott
0 siblings, 0 replies; 4+ messages in thread
From: Robert Abbott @ 1994-10-04 19:51 UTC (permalink / raw)
In article <DIWAN.94Oct4124621@rhea.cs.umass.edu>,
diwan@cs.umass.edu (Amer Diwan) writes...
>I am trying to use performance counters on an Alpha running OSF/1 v. 3.0 and
>not having much luck. Basically, I cannot open the /dev/pfcntr for reading.
>For instance, when I do a cat < /dev/pfcntr, I get the error "Invalid
>Argument". When I do a ls -l of /dev/pfcntr, I find that I have both read and
>write permission to the device and that the major/minor is 26/0.
>Any suggestions?
You must first configure the performance counter device.
Add the following to your configuration file and rebuild
the kernel. And reboot.
pseudo-device pfm
Robert Abbott
Rdb/OSF Performance
^ permalink raw reply [flat|nested] 4+ messages in thread
* Performance Counters
@ 1997-05-09 4:00 Gregory WATTS
1997-05-16 4:00 ` David Coote
0 siblings, 1 reply; 4+ messages in thread
From: Gregory WATTS @ 1997-05-09 4:00 UTC (permalink / raw)
I need help:
I've read in the alpha 21164 hardware book that hardware performance
counters are avalaible on this chip.
I have an acces to a Dec station with such a processor, I would like to
know how I can use those features ?
Is there a special library, a pseudo device....?
Thank you
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Performance Counters
1997-05-09 4:00 Gregory WATTS
@ 1997-05-16 4:00 ` David Coote
0 siblings, 0 replies; 4+ messages in thread
From: David Coote @ 1997-05-16 4:00 UTC (permalink / raw)
You can use the pfm pseudo-device - need to rebuild the kernel if it isn't
already installed - with uprofile on at least DEC 4.0X. It works better with
later EV4 and above chips. Have a look at the man pages on pfm and
uprofile.
In article <33733173.41C67EA6@prism.uvsq.fr>, Gregory.Watts@prism.uvsq.fr
says...
>
>I need help:
>
>I've read in the alpha 21164 hardware book that hardware performance
>counters are avalaible on this chip.
>
>I have an acces to a Dec station with such a processor, I would like to
>know how I can use those features ?
>Is there a special library, a pseudo device....?
>
>Thank you
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-05-16 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-10-04 16:46 Performance Counters Amer Diwan
1994-10-04 19:51 ` Robert Abbott
-- strict thread matches above, loose matches on Subject: below --
1997-05-09 4:00 Gregory WATTS
1997-05-16 4:00 ` David Coote
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox