Path: utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: rn@informatik.uni-kiel.dbp.de (Rilo Nauman) Newsgroups: comp.sys.sun Subject: setitimer/getitimer Keywords: No Digest Subjects during Flush Message-ID: <4158@brchh104.bnr.ca> Date: 27 Jun 91 20:22:00 GMT Sender: news@brchh104.bnr.ca Organization: Sunspots, Flush Mode Lines: 20 Approved: sun-spots@rice.edu X-Original-Date: 21 Jun 91 10:16 +0200 I use calls to setitimer and getitimer to measure runtimes of C-Code. These timers provide three different types of runtimes: ITIMER_REAL, ITIMER_VIRTUEL, ITIMER_PROF. I would like to know what's the difference between the last two, and what exactly is measured by this timers. Especially I need to know if swapping and scheduling-operations are included in these timers or not. Can anybody exactly tell me what is measured ? The manual isn't very precise in that point. Thanks in advance ! Please respond to rn@informatik.uni-kiel.dbp.de Rilo Naumann