Home
last modified time | relevance | path

Searched refs:XRayRecord (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/llvm/unittests/XRay/
DFDRTraceWriterTest.cpp65 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::FuncId, Eq(1)), in TEST()
66 Field(&XRayRecord::FuncId, Eq(1)))); in TEST()
67 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::TId, Eq(1u)), in TEST()
68 Field(&XRayRecord::TId, Eq(1u)))); in TEST()
69 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::PId, Eq(1u)), in TEST()
70 Field(&XRayRecord::PId, Eq(1u)))); in TEST()
71 EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::CPU, Eq(1u)), in TEST()
72 Field(&XRayRecord::CPU, Eq(1u)))); in TEST()
74 ElementsAre(Field(&XRayRecord::Type, Eq(RecordTypes::ENTER)), in TEST()
75 Field(&XRayRecord::Type, Eq(RecordTypes::EXIT)))); in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
DFDRTraceExpander.h25 function_ref<void(const XRayRecord &)> C;
29 XRayRecord CurrentRecord{0, 0, RecordTypes::ENTER, 0, 0, 0, 0, {}, {}};
38 explicit TraceExpander(function_ref<void(const XRayRecord &)> F, uint16_t L) in TraceExpander()
DTrace.h48 using RecordVector = std::vector<XRayRecord>;
51 typedef std::vector<XRayRecord>::const_iterator citerator;
DXRayRecord.h69 struct XRayRecord { struct
/external/llvm-project/llvm/include/llvm/XRay/
DFDRTraceExpander.h25 function_ref<void(const XRayRecord &)> C;
29 XRayRecord CurrentRecord{0, 0, RecordTypes::ENTER, 0, 0, 0, 0, {}, {}};
38 explicit TraceExpander(function_ref<void(const XRayRecord &)> F, uint16_t L) in TraceExpander()
DTrace.h48 using RecordVector = std::vector<XRayRecord>;
51 typedef std::vector<XRayRecord>::const_iterator citerator;
DXRayRecord.h69 struct XRayRecord { struct
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DTrace.cpp34 std::aligned_storage<sizeof(XRayRecord), alignof(XRayRecord)>::type;
38 std::vector<XRayRecord> &Records) { in loadNaiveFormatLog()
268 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog()
335 auto Adder = [&](const XRayRecord &R) { Records.push_back(R); }; in loadFDRLog()
351 std::vector<XRayRecord> &Records) { in loadYAMLLog()
372 return XRayRecord{R.RecordType, R.CPU, R.Type, in loadYAMLLog()
471 llvm::stable_sort(T.Records, [&](const XRayRecord &L, const XRayRecord &R) { in loadTrace()
/external/llvm-project/llvm/lib/XRay/
DTrace.cpp34 std::aligned_storage<sizeof(XRayRecord), alignof(XRayRecord)>::type;
38 std::vector<XRayRecord> &Records) { in loadNaiveFormatLog()
268 XRayFileHeader &FileHeader, std::vector<XRayRecord> &Records) { in loadFDRLog()
335 auto Adder = [&](const XRayRecord &R) { Records.push_back(R); }; in loadFDRLog()
351 std::vector<XRayRecord> &Records) { in loadYAMLLog()
372 return XRayRecord{R.RecordType, R.CPU, R.Type, in loadYAMLLog()
472 llvm::stable_sort(T.Records, [&](const XRayRecord &L, const XRayRecord &R) { in loadTrace()
/external/llvm-project/compiler-rt/include/xray/
Dxray_records.h72 struct alignas(32) XRayRecord { struct
104 static_assert(sizeof(XRayRecord) == 32, "XRayRecord != 32 bytes"); argument
/external/llvm-project/compiler-rt/lib/xray/
Dxray_basic_logging.cpp134 TLD.InMemoryBuffer = reinterpret_cast<XRayRecord *>( in getThreadLocalData()
135 InternalAlloc(sizeof(XRayRecord) * GlobalOptions.ThreadBufferSize, in getThreadLocalData()
136 nullptr, alignof(XRayRecord))); in getThreadLocalData()
235 XRayRecord R; in InMemoryRawLog()
243 auto FirstEntry = reinterpret_cast<XRayRecord *>(TLD.InMemoryBuffer); in InMemoryRawLog()
362 (sizeof(XRayRecord) * TLD.BufferOffset)); in TLDDestructor()
/external/llvm-project/llvm/tools/llvm-xray/
Dxray-stacks.cpp112 struct format_xray_record : public FormatAdapter<XRayRecord> {
113 explicit format_xray_record(XRayRecord record, in format_xray_record()
115 : FormatAdapter<XRayRecord>(std::move(record)), Converter(&conv) {} in format_xray_record()
363 AccountRecordStatus accountRecord(const XRayRecord &R, in accountRecord()
675 const XRayRecord &Record, in CreateErrorMessage()
Dxray-account.h94 bool accountRecord(const XRayRecord &Record);
Dxray-graph.h139 Error accountRecord(const XRayRecord &Record);
Dxray-account.cpp158 bool LatencyAccountant::accountRecord(const XRayRecord &Record) { in accountRecord()
Dxray-graph.cpp208 Error GraphRenderer::accountRecord(const XRayRecord &Record) { in accountRecord()
/external/llvm-project/compiler-rt/lib/xray/tests/unit/
Dtest_helpers.h27 void PrintTo(const XRayRecord &R, std::ostream *OS);
Dtest_helpers.cpp44 void PrintTo(const XRayRecord &R, std::ostream *OS) { in PrintTo()