lemon/time_measure.h
changeset 155 5c3604513ed0
parent 126 e1dd2a70737c
child 157 2ccc1afc2c52
equal deleted inserted replaced
2:ba83b6b3cd62 3:f9cfc0685c6b
    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 #define WIN32_LEAN_AND_MEAN
       
    28 #define NOMINMAX
    27 #include <windows.h>
    29 #include <windows.h>
    28 #include <cmath>
    30 #include <cmath>
    29 #else
    31 #else
    30 #include <sys/times.h>
    32 #include <sys/times.h>
    31 #include <sys/time.h>
    33 #include <sys/time.h>
    32 #endif
    34 #endif
    33 
    35 
       
    36 #include <string>
    34 #include <fstream>
    37 #include <fstream>
    35 #include <iostream>
    38 #include <iostream>
    36 
    39 
    37 namespace lemon {
    40 namespace lemon {
    38 
    41