This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/23380] [mingw32] cpu_time intrinsic malfunction
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Aug 2005 07:29:52 -0000
- Subject: [Bug libfortran/23380] [mingw32] cpu_time intrinsic malfunction
- References: <20050813214828.23380.edunlop@utvinternet.ie>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dannysmith at users dot sourceforge dot net 2005-08-14 07:29 -------
I don't know why you say that "MingW claims to have a HAVE_TIMES". It doesn't.
To get process times on mingw we need to use the win32api function
GetProcessTimes. This is available on NT4 and later but not on win9x.
Would an ifdef _WIN32 clause be acceptable in cpu_time.c. If so, I will submit
a patch.
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23380