Thread View: comp.sys.sgi.misc
2 messages
2 total messages
Started by Colin R Goodall
Thu, 07 Jan 1993 05:30
clock(3F)
Author: Colin R Goodall
Date: Thu, 07 Jan 1993 05:30
Date: Thu, 07 Jan 1993 05:30
7 lines
627 bytes
627 bytes
Can someone tell me please how to get millisecond resolution system clock times from a Fortran call? The Fortran library libU77.a includes only an integer-second resolution function, time (3F). Thanks, Colin Goodall crg@stat.psu.edu
Re: clock(3F)
Author: Dave Ciemiewicz
Date: Sat, 09 Jan 1993 01:19
Date: Sat, 09 Jan 1993 01:19
21 lines
1312 bytes
1312 bytes
In article <C0Gxyw.GK9@cs.psu.edu>, crg@stat.psu.edu (Colin R Goodall) writes:
|> Can someone tell me please how to get millisecond resolution
|> system clock times from a Fortran call? The Fortran library
|> libU77.a includes only an integer-second resolution function,
|> time (3F).
|>
|> Thanks, Colin Goodall
|> crg@stat.psu.edu
Write a C function which calls gettimeofday(2) and returns the time at the
resoltion that you need to your Fortran program. You will need to set the
fast clock on using the ftimer(1) command. To determine how to call C routines
from Fortran, see the Fortran 77 Programmer's Guide, chapter 3.
--
__ * __ _ __ ___
/ \ / / / / \/ \/ \ He was a man like any other man, however, not
/ / \/ / /\ / / quite like any other man.
\___/\__/\_/ /_/ / \__/
*
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads