GridComputing
Job Management in Grid Computing
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
utils.h
Go to the documentation of this file.
1 #ifndef UTILS_H_
2 #define UTILS_H_
3 
4 #include <cstdint>
5 #include <string>
6 
7 typedef int8_t int8;
8 typedef int16_t int16;
9 typedef int32_t int32;
10 typedef int64_t int64;
11 typedef uint8_t uint8;
12 typedef uint16_t uint16;
13 typedef uint32_t uint32;
14 typedef uint64_t uint64;
15 
16 typedef uint32 uint;
17 
19 uint32 GetTimeDiff(uint64 curTime, uint64 prevTime);
20 
21 void PauseConsole(const std::string& message = "Press enter to continue...");
22 void ClearConsole();
23 
24 #endif // UTILS_H_