1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

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
+6
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