* Re: Performance counters on Alpha 21064
@ 1998-02-17 5:00 John P Williams
0 siblings, 0 replies; 2+ messages in thread
From: John P Williams @ 1998-02-17 5:00 UTC (permalink / raw)
To: martin
Martin Auer wrote:
> a few questions regarding the performance counters on the Alpha
> processor:
>
> 1. What is the easiest way to read the counters? Do I have to use the
> pfm device?
>
Yes, use the pfm device, but do it by running the uprofile(1) command
rather than writing a tool to talk to the device through ioctl(),
unless you need different capabilities. In any case you need to
configure the pfm device into your kernel, by including the line
"pseudo-device pfm" in the config file.
> 2. Where can I find documentation regarding the PCs?
>
See the pfm(7) man-page for a description of each one.
It describes each of the statistics that can be profiled
on the 21064 chip. Typing "uprofile" without arguments
tells you the command line's name for the statistics.
> 3. Does anyone know of an example source code using the PCs?
I don't know of one.
Another way you can use the Alpha performance counters is to
use the Continuous Profiling Infrastructure. This is a research
project in progress at DIGITAL's Systems Research Center. It lets
you profile an entire system. The toolset is currently available
for download from the SRC web site, under a zero-cost license:
http://www.research.digital.com/SRC/dcpi/
The Continuous Profiling Infrastructure is also available for
Windows/NT from the same site.
Let me know if you have questions.
John P Williams
^ permalink raw reply [flat|nested] 2+ messages in thread
* Performance counters on Alpha 21064
@ 1998-02-11 5:00 martin
0 siblings, 0 replies; 2+ messages in thread
From: martin @ 1998-02-11 5:00 UTC (permalink / raw)
Hello,
a few questions regarding the performance counters on the Alpha processor:
1. What is the easiest way to read the counters? Do I have to use the pfm
device?
2. Where can I find documentation regarding the PCs?
3. Does anyone know of an example source code using the PCs?
Please send a copy of your answer to me directly,
Thanks!
Martin Auer
martin@auer.net
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-02-17 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-17 5:00 Performance counters on Alpha 21064 John P Williams
-- strict thread matches above, loose matches on Subject: below --
1998-02-11 5:00 martin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox