mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Allow adding annotations to timeline.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <assert.h>
|
||||
#include <limits>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
|
||||
#include "TracyCharUtil.hpp"
|
||||
@@ -509,6 +510,14 @@ struct CpuThreadData
|
||||
|
||||
enum { CpuThreadDataSize = sizeof( CpuThreadData ) };
|
||||
|
||||
|
||||
struct Annotation
|
||||
{
|
||||
std::string text;
|
||||
int64_t start;
|
||||
int64_t end;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user