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
Этот коммит содержится в:
akolliasAMD
2023-06-07 17:47:10 -06:00
коммит произвёл GitHub
родитель c3f47853bd
Коммит 9cdac774ea
5 изменённых файлов: 86 добавлений и 142 удалений
+1 -5
Просмотреть файл
@@ -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: