The information in this article applies to:
SYMPTOMSThe DTIME() and ETIME() functions incorrectly return zero for program execution and elapsed CPU time under Windows 95. CAUSEWindows 95 does not support the underlying Win32 API function calls accessed by these functions. This does not apply to Windows NT 3.51. RESOLUTIONUse the TIMEF() function to profile CPU timings under Windows 95. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONThe following program under Windows NT 3.51 produces the correct elapsed time results for DTIME() and ETIME(). The same code under Windows 95 causes zero to be returned as the result, while TIMEF() works correctly under both operating systems. Sample Code
C Use the following code as a workaround under Windows 95
REFERENCESMicrosoft FORTRAN PowerStation 32 4.0 Books Online Readme. Additional query words: 4.00
Keywords : kbFortranPS kbLangFortran |
Last Reviewed: November 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |