/home/coin/SVN-release/CoinAll-1.1.0/SYMPHONY/include/sym_win32_time.h

Go to the documentation of this file.
00001 #ifndef WIN32_TIME_H
00002 #define WIN32_TIME_H
00003 
00004 #if defined(_MSC_VER) || defined (__MNO_CYGWIN)
00005 #include <time.h>
00006 
00007 struct timeval {
00008     long    tv_sec;         /* seconds */
00009     long    tv_usec;        /* and microseconds */
00010 };
00011 
00012 struct rusage {
00013        struct timeval   ru_utime;   /* user time used */
00014        struct timeval   ru_stime;   /* system time used */
00015        long             ru_maxrss;  /* maximum resident set size */
00016        long             ru_idrss;   /* integral resident set size */
00017        long             ru_minflt;  /* page faults not requiring physical I/O*/
00018        long             ru_majflt;  /* page faults requiring physical I/O */
00019        long             ru_nswap;   /* swaps */
00020        long             ru_inblock; /* block input operations */
00021        long             ru_oublock; /* block output operations */
00022        long             ru_msgsnd;  /* messages sent */
00023        long             ru_msgrcv;  /* messages received */
00024        long             ru_nsignals;/* signals received */
00025        long             ru_nvcsw;   /* voluntary context switches */
00026        long             ru_nivcsw;  /* involuntary context switches */
00027 };
00028 
00029 #pragma warning(disable:4244)
00030 #pragma warning(disable:4013)
00031 #pragma warning(disable:4068)
00032 #pragma warning(disable:4761)
00033 #pragma warning(disable:4305)
00034 #pragma warning(disable:4101)
00035 #pragma warning(disable:4700)
00036 #pragma warning(disable:4018)
00037 
00038 
00039 #endif
00040 #endif

Generated on Sun Nov 14 14:06:42 2010 for Coin-All by  doxygen 1.4.7