Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/17/84; site hao.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!gatech!seismo!hao!woods
From: woods@hao.UUCP (Greg Woods)
Newsgroups: net.lang.f77
Subject: Re: timing code segments
Message-ID: <1851@hao.UUCP>
Date: Tue, 12-Nov-85 16:36:33 EST
Article-I.D.: hao.1851
Posted: Tue Nov 12 16:36:33 1985
Date-Received: Thu, 14-Nov-85 02:59:00 EST
References: <2356@watale.UUCP>
Distribution: net
Organization: High Altitude Obs./NCAR, Boulder CO
Lines: 9

> 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