Manual collection of thread names on android.

This commit is contained in:
Bartosz Taudul
2017-10-30 20:45:00 +01:00
parent 32532277e3
commit cf3d8eb810
3 changed files with 61 additions and 13 deletions

View File

@@ -1,6 +1,12 @@
#ifndef __TRACYSYSTEM_HPP__
#define __TRACYSYSTEM_HPP__
#ifdef TRACY_ENABLE
# ifdef __ANDROID__
# define TRACY_COLLECT_THREAD_NAMES
# endif
#endif
#ifdef _WIN32
extern "C" __declspec(dllimport) unsigned long __stdcall GetCurrentThreadId(void);
#else