This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/23380] [mingw32] cpu_time intrinsic malfunction


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]