Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!ucla-cs!ucla-se!edison!hdai From: hdai@edison.seas.ucla.edu (HongXing Dai) Newsgroups: comp.unix.aix Subject: XLF function Message-ID: <3186@lee.SEAS.UCLA.EDU> Date: 24 Jun 91 23:32:11 GMT Sender: news@SEAS.UCLA.EDU Organization: SEASnet, University of California, Los Angeles Lines: 11 I wrote a Fortran program which used etime() to compute the elapsed system time of the process and it worked fine on DEC Ultrix and Sun SparcStation. But AIX doesn't have equivalent function (so far as I can tell from the tiny manual comes with the system) in Fortran, nor in C. XLF does have one MCLOCK() which returns time accounting (=current process's user time+user and system time of all chile processes) which differed a lot from ps said. Could anyone shed a light on how to deal with it in either XLC or XLF functions? Thanks in advance. Dai