[HipPerf] relocating/renaming some hip perf tests

Change-Id: Ie85d242cd68cd14a858e07ed27875a5196014688
This commit is contained in:
Aryan Salmanpour
2020-08-13 17:26:44 -04:00
parent a8e7816726
commit 0d0efcdbf4
6 changed files with 4 additions and 4 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef _TIMER_H_
#define _TIMER_H_
#ifdef _WIN32
typedef __int64 i64 ;
#endif
#ifdef __linux__
typedef long long i64;
#endif
class CPerfCounter {
public:
CPerfCounter();
~CPerfCounter();
void Start(void);
void Stop(void);
void Reset(void);
double GetElapsedTime(void);
private:
i64 _freq;
i64 _clocks;
i64 _start;
};
#endif // _TIMER_H_