equal
deleted
inserted
replaced
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> |