lemon/time_measure.h
changeset 513 2a136de8e3f2
parent 440 88ed40ad0d4f
parent 481 daddd623ac9a
child 515 b9b3473327e3
equal deleted inserted replaced
10:a408599db720 15:8f2beadc9b00
    22 ///\ingroup timecount
    22 ///\ingroup timecount
    23 ///\file
    23 ///\file
    24 ///\brief Tools for measuring cpu usage
    24 ///\brief Tools for measuring cpu usage
    25 
    25 
    26 #ifdef WIN32
    26 #ifdef WIN32
       
    27 #ifndef WIN32_LEAN_AND_MEAN
    27 #define WIN32_LEAN_AND_MEAN
    28 #define WIN32_LEAN_AND_MEAN
       
    29 #endif
       
    30 #ifndef NOMINMAX
    28 #define NOMINMAX
    31 #define NOMINMAX
       
    32 #endif
    29 #include <windows.h>
    33 #include <windows.h>
    30 #include <cmath>
    34 #include <cmath>
    31 #else
    35 #else
       
    36 #include <unistd.h>
    32 #include <sys/times.h>
    37 #include <sys/times.h>
    33 #include <sys/time.h>
    38 #include <sys/time.h>
    34 #endif
    39 #endif
    35 
    40 
    36 #include <string>
    41 #include <string>