Execution Time for Fortran using C

Hi,

I want to write C fuctions Which will be called by fortran. It has to tell how much time it takes to execute the program.
For eg:

from Fortran:

CALLCSTART()
FORTRANCODE
..
..
..
CALLCEND()

This CALLCSTART and END are defined in C, it has to calculate the time take between START and END.

Can anyone help me in this.. Cos i dont know FORTRAN
All of that depends on your environment. Precise timing will vary between operating systems. Linking different languages will depend on the compilers used.
Topic archived. No new replies allowed.