mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-28 17:28:14 +08:00
1b33ad788d
(profiler_core) Fixed bug with memory corruption in chunk_allocator; (profiler_core) Event tracing now gathering info about process which owns thread; (profiler_core) Thread names are stored before other blocks now; (profiler_core) Removed unused block types: context switch and thread sign; (profiler_core) Added some description for API; (profiler_gui) Context switch events now painted in different colors: red = switch to another process, coral = switch to registered thread in the same process, black = switch to kernel mode (thread id == 0). (profiler_gui) Added popup windows with information about context-switch or block under mouse cursor;
28 lines
865 B
C++
28 lines
865 B
C++
|
|
|
|
|
|
#ifndef EASY_PROFILER__EVENT_TRACE_STATUS__H_
|
|
#define EASY_PROFILER__EVENT_TRACE_STATUS__H_
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
namespace profiler {
|
|
|
|
enum EventTracingEnableStatus : unsigned char
|
|
{
|
|
EVENT_TRACING_LAUNCHED_SUCCESSFULLY = 0,
|
|
EVENT_TRACING_NOT_ENOUGH_ACCESS_RIGHTS,
|
|
EVENT_TRACING_WAS_LAUNCHED_BY_SOMEBODY_ELSE,
|
|
EVENT_TRACING_BAD_PROPERTIES_SIZE,
|
|
EVENT_TRACING_OPEN_TRACE_ERROR,
|
|
EVENT_TRACING_MISTERIOUS_ERROR,
|
|
};
|
|
|
|
} // END of namespace profiler.
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif // EASY_PROFILER__EVENT_TRACE_STATUS__H_
|