From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,eb6379a0421c371e X-Google-Attributes: gid1164f8,public From: mogul@actitis.pa.dec.com (Jeffrey Mogul) Subject: Re: Performance counting on 21164 Date: 1998/03/26 Message-ID: <6fca7a$7kn@usenet.pa.dec.com>#1/1 X-Deja-AN: 337732164 Distribution: world References: <351674E3.DFCB6CF5@zam360.zam.kfa-juelich.de> <6fav9q$8cm$1@nntpd.lkg.dec.com> Organization: DEC Western Research Newsgroups: comp.sys.dec In article <6fav9q$8cm$1@nntpd.lkg.dec.com>, carlini@krakar.enet.dec.com (Antonio Carlini) writes: |> In article <351674E3.DFCB6CF5@zam360.zam.kfa-juelich.de>, "he.ziegler" writes: |> |>i need a more accurate description of the performance counting abilities |> |>of the 21164. I am reffering to |> |>the pages 87 ff. in the "Alpha 21164 Microprocessor Data Sheet" |> |>(EC-QAEPC-TE). |> |> But that description is perfectly accurate - there is no more to it. You can |> also look at the 21164 Hardware Reference Manual (EC-QAEQB-TE) which is also |> available on the web. |> |> Basically you turn on the performance counter stuff using a bit in the |> ICSR (p5-20 et seq. in the HRM). The counters then count and (if enabled) |> interrupt according to the setting of PMCTR. The interrupt will be handled |> by the PALcode and passed on to the OS accordingly. For many people, the DCPI tools are a very convenient way to use the performance counters. See http://www.research.digital.com/SRC/dcpi/ for more details. Digital UNIX users can use the "uprofile" and "kprofile" commands. -Jeff