From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,fb8f99978b1c2397 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-01-10 18:40:34 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!newsgate.tandem.com!mailint03.im.hou.compaq.com!pa.dec.com!actitis.pa.dec.com!mogul From: mogul@actitis.pa.dec.com (Jeffrey Mogul) Newsgroups: comp.unix.tru64 Subject: Re: cycle counter register Date: 11 Jan 2001 02:34:20 GMT Organization: DEC Western Research Message-ID: <93j63c$3l0@usenet.pa.dec.com> References: NNTP-Posting-Host: actitis.pa.dec.com X-Newsreader: xrn 9.00 Xref: supernews.google.com comp.unix.tru64:1408 In article , Mihai-Dan Budiu writes: |> a) is there a method to measure in a very lightweight fashion just the |> user-level runtime of a process? should I expect for such a value |> a variance of an order >10%, due to the unpredictable scheduling on |> OS and application code on the CPU? Try DCPI: http://www.tru64unix.compaq.com/dcpi/ Currently this is an "advanced development kit" and there isn't an excess of documentation, but it can probably help you a lot. See http://www.usenix.org/publications/login/1999-2/squid.html for an example of how an older version of DCPI was useful for isolating a performance problem. (Some of the details of the tools have changed since then, and I've not kept up with the changes myself.) -Jeff