mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Assign messages to threads.
This commit is contained in:
+13
-12
@@ -38,11 +38,24 @@ public:
|
||||
static void Draw();
|
||||
|
||||
private:
|
||||
struct MessagePending
|
||||
{
|
||||
int64_t time;
|
||||
uint64_t thread;
|
||||
};
|
||||
|
||||
struct MessageData
|
||||
{
|
||||
int64_t time;
|
||||
const char* txt;
|
||||
};
|
||||
|
||||
struct ThreadData
|
||||
{
|
||||
uint64_t id;
|
||||
bool enabled;
|
||||
Vector<Event*> timeline;
|
||||
Vector<MessageData*> messages;
|
||||
};
|
||||
|
||||
struct LockMap
|
||||
@@ -77,18 +90,6 @@ private:
|
||||
std::vector<PlotItem> data;
|
||||
};
|
||||
|
||||
struct MessagePending
|
||||
{
|
||||
int64_t time;
|
||||
uint64_t thread;
|
||||
};
|
||||
|
||||
struct MessageData
|
||||
{
|
||||
int64_t time;
|
||||
const char* txt;
|
||||
};
|
||||
|
||||
void Worker();
|
||||
|
||||
void DispatchProcess( const QueueItem& ev );
|
||||
|
||||
Reference in New Issue
Block a user