Hi,

the attached patch allows the use of clock_gettime() with
CLOCK_PROCESS_CPUTIME_ID or CLOCK_THREAD_CPUTIME_ID if the target
doesn't have getrusage() or times(). Such a target is apparently
VxWorks 6.something, see
http://www-ad.fnal.gov/controls/micro_p/manuals/vxworks_application_programmers_guide_6.7.pdf

Ok for trunk?

2012-05-23  Janne Blomqvist  <j...@gcc.gnu.org>

        PR fortran/53456
        * intrinsics/time_1.h (gf_cputime): Fallback for clock_gettime.


-- 
Janne Blomqvist

Attachment: vxtime2.diff
Description: Binary data

Reply via email to