12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Descriptions of the Library Routines 2ENDTIMEFPortability Function: Returns the number of seconds since the first time it is called, or zero.Module: USE IFPORTSyntaxresult = TIMEF ( )Results:The result type is REAL(4). The result value is the number of seconds that have elapsed since thefirst time TIMEF was called.The first TIMEF it is called, it returns 0.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBExampleUSE IFPORTINTEGER i, jREAL(8) elapsed_timeelapsed_time = TIMEF( )DO i = 1, 100000j = j + 1END DOelapsed_time = TIMEF( )PRINT *, elapsed_timeENDTRACEBACKQQRun-Time Subroutine: Provides traceback information. Uses the Intel® Visual <strong>Fortran</strong> run-timelibrary traceback facility to generate a stack trace showing the program call stack as it appeared atthe time of the call to TRACEBACKQQ( ).Module: USE IFCORESyntaxCALL TRACEBACKQQ ([string] [, user_exit_code] [, status] [, eptr])2-481

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!