How do I compile ttype?

Spencer W. Thomas thomas at utah-gr.UUCP
Mon Dec 9 07:21:32 AEST 1985


In article <1929 at elecvax.eecs.unsw.oz> stephenf at 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 at utah-cs.ARPA)
	"Ask not what your kernel can do for you, but rather what you
	 can do for you kernel!"



More information about the Comp.sources.bugs mailing list