Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site utah-gr.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!utah-cs!utah-gr!thomas From: thomas@utah-gr.UUCP (Spencer W. Thomas) Newsgroups: net.sources.bugs Subject: Re: How do I compile ttype? Message-ID: <1641@utah-gr.UUCP> Date: Sun, 8-Dec-85 16:21:32 EST Article-I.D.: utah-gr.1641 Posted: Sun Dec 8 16:21:32 1985 Date-Received: Tue, 10-Dec-85 05:05:59 EST References: <965@turtlevax.UUCP> <13500001@hpspkla.UUCP> <1752@teddy.UUCP> <1929@elecvax.eecs.unsw.oz> Reply-To: thomas@utah-gr.UUCP (Spencer W. Thomas) Organization: Univ of Utah CS Dept Lines: 14 In article <1929@elecvax.eecs.unsw.oz> stephenf@elecvax.eecs.unsw.oz (Stephen Frede) writes: >V7/SysV times(2) system call returns a value in tics (1/60 or 1/100 sec in >the US, usually 1/50 sec in Australia) >The ttype program does not use the value for anything very crucial. >The following routine will probably be close enough. This will not work because, while ftime returns REAL TIME in small units, times returns CPU TIME, obviously not the same thing, unless your process is using 100% of the CPU. -- =Spencer ({ihnp4,decvax}!utah-cs!thomas, thomas@utah-cs.ARPA) "Ask not what your kernel can do for you, but rather what you can do for you kernel!"