On 3/28/2010 09:49, David Cleaver wrote:
> Hello all,
>
> I've recently come across a program that includes sys/resource.h and uses that
> for measuring the runtime of some code.  I know that Mingw64 does not have 
> this
> file, but I was wondering why?  Is it something that cannot be done on a 
> Windows
> platform?
>
> Also, I see that there is a struct called rusage inside that file that keeps
> track of user time and system time which are both timeval structs.  If I just
> use a timeval struct in Mingw64 to keep track of time, will that be keeping
> track of (user+system) time?  Or maybe just user (or just system) time?  If
> anyone knows the answer or where I can find more info, I'd really appreciate 
> it.
>
> -David C.
>

Hi,

Windows doesn't really have that, so its not included with mingw-w64,
but you can try with an untested version from:

<http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/experimental/getrusage/>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to