The timer in the development code I am working on uses the
call "ETIME()" to return the elapsed time. I am linking with -Vaxlib to obtain this from the portability library.
For times less than approximately 2000s it works fine and I get sensible results. However if the time exceeds this (2050s is the largest I have seen) the times are printed as:
++++++++++ and subsequently ?????????? using a F10.2 format.
Is there a wrap-round problem with this call? 2000s is suspiciously close to 2147s which would be the maximum value of a 32-bit integer timer measured in microseconds.
Secondly, what values would cause the I/O library to print the plusses and the question marks?
Keith Refson
Etime() wrapping
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.



