mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 06:03:51 +00:00
30 lines
341 B
C++
Executable File
30 lines
341 B
C++
Executable File
#ifndef __TRACYEVENT_HPP__
|
|
#define __TRACYEVENT_HPP__
|
|
|
|
#include "TracyVector.hpp"
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
struct TextData
|
|
{
|
|
const char* userText;
|
|
};
|
|
|
|
struct Event
|
|
{
|
|
int64_t start;
|
|
int64_t end;
|
|
uint64_t srcloc;
|
|
|
|
TextData* text;
|
|
Event* parent;
|
|
Vector<Event*> child;
|
|
};
|
|
|
|
enum { EventSize = sizeof( Event ) };
|
|
|
|
}
|
|
|
|
#endif
|