From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,94e83d305f655054,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-29 00:24:56 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!wupost!udel!rochester!honeydew.srv.cs.cmu.edu!tomstr From: tomstr@CS.CMU.EDU (Thomas Stricker) Subject: Performance counters... Message-ID: Originator: tomstr@ARES.NECTAR.CS.CMU.EDU Sender: news@cs.cmu.edu (Usenet News System) Nntp-Posting-Host: ares.nectar.cs.cmu.edu Organization: School of Computer Science, Carnegie Mellon University Distribution: comp Date: Fri, 29 Apr 1994 03:57:09 GMT The 21064/EV4 chip has some nice performance counters, counting cache misses and other interesting events in the processor. These are interesting since they are affecting performance. Does anybody have an idea on how to get to these counters and query them with an assembler squence or with a syscall. I am looking at the OSF/1 version of a 3000/400. Be warned it might take extensive hacking since they are probably very protected (although there is no other good reason for that, except that the bitfields selecting among them are packed together with very powerfull bits, like turning VM on/off!). Anybody experience on reading the performance counters? Thomas M. Stricker