- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWindowsHelper.h
More file actions
Latest commit
30 lines (24 loc) · 552 Bytes
/
Copy pathWindowsHelper.h
File metadata and controls
30 lines (24 loc) · 552 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef _WINDOWSHELPER_H
#define_WINDOWSHELPER_H
#ifdef _MSC_VER
#pragma warning( disable : 4530 ) // warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
#endif
#include<stdlib.h>
#include<string.h>
#include<iostream>
#include<vector>
#ifdef _WIN32
#include<windows.h>
#include<winnt.h>
#else
#include<sys/time.h>
#endif
usingnamespacestd;
classWindowsHelper {
public:
WindowsHelper();
~WindowsHelper();
staticfloatgetMsElapsed();
staticfloatgetTime();
};
#endif