Home
last modified time | relevance | path

Searched defs:TraceFileHeader (Results 1 – 1 of 1) sorted by relevance

/developtools/profiler/device/services/profiler_service/src/
Dtrace_file_header.h18 struct TraceFileHeader { struct
19 static constexpr uint32_t HEADER_SIZE = 1024; // 预留了一些空间,方便后续在头部添加字
20 static constexpr uint32_t SHA256_SIZE = 256 / 8;
21 static constexpr uint64_t HEADER_MAGIC = 0x464F5250534F484FuLL;
22 static constexpr uint32_t V_MAJOR = 0x0001;
23 static constexpr uint32_t V_MAJOR_BITS = 16;
24 static constexpr uint32_t V_MINOR = 0x0000;
25 static constexpr uint32_t TRACE_VERSION = (V_MAJOR << V_MAJOR_BITS) | V_MINOR;
27 struct HeaderData {
34 HeaderData data_ = {};
[all …]