Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbjade.BERKELEY.EDU Path: utzoo!watmath!clyde!cbosgd!ihnp4!mhuxn!mhuxr!ulysses!ucbvax!ucbjade!jerry From: jerry@ucbopal.BERKELEY.EDU (Jerry Berkman) Newsgroups: net.lang.f77 Subject: Re: timing code segments Message-ID: <152@ucbjade.BERKELEY.EDU> Date: Wed, 13-Nov-85 14:11:33 EST Article-I.D.: ucbjade.152 Posted: Wed Nov 13 14:11:33 1985 Date-Received: Fri, 15-Nov-85 04:42:07 EST References: <2356@watale.UUCP> <1851@hao.UUCP> Sender: network@ucbjade.BERKELEY.EDU Reply-To: jerry@ucbopal.UUCP (Jerry Berkman) Distribution: net Organization: University of California, Berkeley Lines: 17 In article <1851@hao.UUCP> woods@hao.UUCP (Greg Woods) writes: >> Does anyone out there in f77 land know if there's a built-in >> f77 command to time segments of code? > > This really depends on what kind of system you are running on. On our >system (4.2BSD on a VAX 11/750), there is no CPU time function in >the F77 library, but since FORTRAN and C can call each other, it's >fairly trivial to write a C routine to return CPU time used. > >--Greg See etime(3f) in the Programmer's manual for 4.2 BSD or ULTRIX systems. - Jerry Berkman Computing Services, (415) 642-4804 U. C. Berkeley jerry@opal.Berkeley.EDU