From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5302756c230cad92,start X-Google-Attributes: gid1164f8,public From: Christoforos Kozyrakis Subject: question on kprofile/uprofile Date: 1996/10/30 Message-ID: <3277FFD4.989@cs.berkeley.edu>#1/1 X-Deja-AN: 193372110 content-type: text/plain; charset=us-ascii organization: EECS Computer Science Division, U.C. Berkeley mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/715) Three questions on the kprofile/uprofile utilities that can be used to access the alphas performance counters. The corrsponding manual pages are not that helpful with these: 1. What is the difference between what is measure by uprofile and kprofile? Uprofile counts only events due to the user program and happened while the processor is in user mode? Kprofile, on the other hand, measures events both in user-mode and kernel-mode (OS activity) that were caused by the program? 2. What is the exact format of the kmon.out file : a binary file that contain a sequence of 64 bit PC values (8 bytes per PC entry)? Is it something else? 3. About the -i flag : is the "bucket size" the "size of a PC entry"? Or does it mean something else? Does the bucket size affect the type of contents of the kmon.out? Any answer or link to where I can find them will be very useful. Thanks in advance, --- Christoforos E. Kozyrakis kozyraki@cs.berkeley.edu EECS Computer Science Division http://http.cs.berkeley.edu/~kozyraki University of California, Berkeley