Wall clock update and npkit trace script Update (#771)

* changed builtin clock to wall_clock64
* updated npkit_Trace_generator to the new version of npkit
This commit is contained in:
akolliasAMD
2023-06-07 17:47:10 -06:00
committed by GitHub
parent c3f47853bd
commit 9cdac774ea
5 changed files with 86 additions and 142 deletions
+1 -5
View File
@@ -14,11 +14,7 @@
#include "npkit/npkit_event.h"
#include "npkit/npkit_struct.h"
#if defined(__GFX9__) || defined(__GFX10__)
#define NPKIT_GET_GPU_TIMESTAMP __builtin_amdgcn_s_memrealtime
#else
#define NPKIT_GET_GPU_TIMESTAMP clock64
#endif
#define NPKIT_GET_GPU_TIMESTAMP wall_clock64
class NpKit {
public: