From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Profiler/IntelGPAProfiler.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Runtime/Profiler/IntelGPAProfiler.cpp (limited to 'Runtime/Profiler/IntelGPAProfiler.cpp') diff --git a/Runtime/Profiler/IntelGPAProfiler.cpp b/Runtime/Profiler/IntelGPAProfiler.cpp new file mode 100644 index 0000000..8400d0b --- /dev/null +++ b/Runtime/Profiler/IntelGPAProfiler.cpp @@ -0,0 +1,14 @@ +#include "UnityPrefix.h" +#include "IntelGPAProfiler.h" + +#if INTEL_GPA_PROFILER_AVAILABLE + +__itt_domain* g_IntelGPADomain; + +void InitializeIntelGPAProfiler() +{ + g_IntelGPADomain = __itt_domain_createA("Unity.Player"); +} + + +#endif -- cgit v1.1-26-g67d0