1
0
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:
Bartosz Taudul
2019-10-13 15:28:52 +02:00
parent 215dc8a804
commit 5fed86dae7
3 changed files with 46 additions and 1 deletions
+9
View File
@@ -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