| /llvm-project-15.0.7/compiler-rt/lib/xray/tests/unit/ |
| H A D | fdr_controller_test.cpp | 83 uint64_t TSC = 2; in TEST_F() local 142 uint64_t TSC = 1; in TEST_F() local 167 uint64_t TSC = 1; in TEST_F() local 194 uint64_t TSC = 1; in TEST_F() local 221 uint64_t TSC = 1; in TEST_F() local 255 uint64_t TSC = 1; in TEST_F() local 319 uint64_t TSC = 1; in TEST_F() local 335 uint64_t TSC = 1; in TEST_F() local 352 uint64_t TSC = 1; in TEST_F() local 373 uint64_t TSC = 1; in TEST_F() local [all …]
|
| H A D | fdr_log_writer_test.cpp | 97 uint64_t TSC = 1; in TEST() local 99 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Enter, 1, TSC++)); in TEST() 101 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Exit, 1, TSC++)); in TEST() 113 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Enter, 1, TSC++)); in TEST()
|
| H A D | test_helpers.h | 50 return ::testing::Matcher<decltype(arg.TSC)>(M).MatchAndExplain( 51 arg.TSC, result_listener);
|
| H A D | function_call_trie_test.cpp | 31 uint64_t TSC = 1; in TEST() local 33 Trie.enterFunction(1, TSC++, CPU++); in TEST() 34 Trie.exitFunction(1, TSC++, CPU++); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_fdr_controller.h | 151 LatestTSC = TSC; in recordPreamble() 164 TSC - LatestTSC > in recordPreamble() 169 LatestTSC = TSC; in recordPreamble() 261 auto Delta = TSC - LatestTSC; in functionEnter() 262 LastFunctionEntryTSC = TSC; in functionEnter() 263 LatestTSC = TSC; in functionEnter() 288 LatestTSC = TSC; in functionTailExit() 301 LatestTSC = TSC; in functionEnterArg() 326 LatestTSC = TSC; in functionExit() 341 LatestTSC = TSC; in customEvent() [all …]
|
| H A D | xray_fdr_logging.cpp | 411 uint64_t TSC = 0; member 428 Result.TSC = __xray::readTSC(Result.CPU); in getTimestamp() 497 auto &TSC = TC.TSC; in fdrLoggingHandleArg0() local 510 TLD.Controller->functionEnter(FuncId, TSC, CPU); in fdrLoggingHandleArg0() 513 TLD.Controller->functionExit(FuncId, TSC, CPU); in fdrLoggingHandleArg0() 516 TLD.Controller->functionTailExit(FuncId, TSC, CPU); in fdrLoggingHandleArg0() 527 auto &TSC = TC.TSC; in fdrLoggingHandleArg1() local 543 TLD.Controller->functionExit(FuncId, TSC, CPU); in fdrLoggingHandleArg1() 546 TLD.Controller->functionTailExit(FuncId, TSC, CPU); in fdrLoggingHandleArg1() 557 auto &TSC = TC.TSC; in fdrLoggingHandleCustomEvent() local [all …]
|
| H A D | xray_basic_logging.cpp | 52 uint64_t TSC; member 173 uint64_t TSC = ReadTSC(CPU); in InMemoryRawLog() local 188 E.TSC = TSC; in InMemoryRawLog() 217 StackTop.TSC < TSC) { in InMemoryRawLog() 218 auto Delta = TSC - StackTop.TSC; in InMemoryRawLog() 238 R.TSC = TSC; in InMemoryRawLog()
|
| H A D | xray_function_call_trie.h | 358 void enterFunction(const int32_t FId, uint64_t TSC, in enterFunction() argument 380 if (ShadowStack.AppendEmplace(TSC, NewRoot, CPU) == nullptr) { in enterFunction() 400 if (ShadowStack.AppendEmplace(TSC, Callee->NodePtr, CPU) == nullptr) in enterFunction() 412 if (ShadowStack.AppendEmplace(TSC, NewNode, CPU) == nullptr) in enterFunction() 417 void exitFunction(int32_t FId, uint64_t TSC, in exitFunction() argument 451 Top.EntryTSC > TSC in exitFunction() 452 ? (std::numeric_limits<uint64_t>::max() - Top.EntryTSC) + TSC in exitFunction() 453 : TSC - Top.EntryTSC; in exitFunction()
|
| H A D | xray_profiling.cpp | 274 auto TSC = readTSC(CPU); in profilingHandleArg0() local 298 FCT->enterFunction(FuncId, TSC, CPU); in profilingHandleArg0() 302 FCT->exitFunction(FuncId, TSC, CPU); in profilingHandleArg0()
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | TraceGDBRemotePacketsTest.cpp | 52 const uint64_t TSC = std::numeric_limits<uint32_t>::max(); in TEST() local 59 response.tsc_perf_zero_conversion->ToNanos(TSC); in TEST() 61 deserialized_response->tsc_perf_zero_conversion->ToNanos(TSC); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/XRay/ |
| H A D | FDRTraceExpander.cpp | 42 CurrentRecord.TSC = R.tsc(); in visit() 57 CurrentRecord.TSC = BaseTSC; in visit() 72 CurrentRecord.TSC = BaseTSC; in visit() 116 CurrentRecord.TSC = BaseTSC; in visit()
|
| H A D | Trace.cpp | 128 Record.TSC = Reader.getU64(&OffsetPtr); in loadNaiveFormatLog() 373 R.FuncId, R.TSC, R.TId, in loadYAMLLog() 473 return L.TSC < R.TSC; in loadTrace()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | DecodedThread.h | 74 using TSC = uint64_t; 88 TSC tsc; 106 TSC tsc; 235 void NotifyTsc(TSC tsc);
|
| H A D | TraceIntelPTOptions.td | 19 Desc<"Enable the use of TSC timestamps. This is supported on all devices " 26 "TSC timestamp and the current absolute instruction pointer. " 56 "option forces the capture of TSC timestamps (see --tsc). Also, this " 74 Desc<"Enable the use of TSC timestamps. This is supported on all devices " 81 "TSC timestamp and the current absolute instruction pointer. "
|
| /llvm-project-15.0.7/llvm/tools/llvm-xray/ |
| H A D | xray-stacks.cpp | 380 R.TSC); in accountRecord() 394 TS.emplace_back(N, R.TSC); in accountRecord() 398 TS.emplace_back(*I, R.TSC); in accountRecord() 432 std::max(E.second, R.TSC) - std::min(E.second, R.TSC)); in accountRecord() 436 std::max(Deepest.second, R.TSC) - std::min(Deepest.second, R.TSC)); in accountRecord() 439 std::max(Deepest.second, R.TSC) - std::min(Deepest.second, R.TSC)); in accountRecord()
|
| H A D | xray-account.cpp | 159 setMinMax(PerThreadMinMaxTSC[Record.TId], Record.TSC); in accountRecord() 160 setMinMax(PerCPUMinMaxTSC[Record.CPU], Record.TSC); in accountRecord() 163 CurrentMaxTSC = Record.TSC; in accountRecord() 165 if (Record.TSC < CurrentMaxTSC) in accountRecord() 178 ThreadStack.Stack.emplace_back(Record.FuncId, Record.TSC); in accountRecord() 192 recordLatency(Top.first, diff(Top.second, Record.TSC)); in accountRecord() 243 recordLatency(E.first, diff(E.second, Record.TSC)); in accountRecord() 490 Record.TSC, Record.TId, Record.PId) in __anoncdccbc530f02()
|
| H A D | xray-graph.cpp | 212 CurrentMaxTSC = Record.TSC; in accountRecord() 214 if (Record.TSC < CurrentMaxTSC) in accountRecord() 224 ThreadStack.push_back({Record.FuncId, Record.TSC}); in accountRecord() 245 TimestampT D = diff(ThreadStack.back().TSC, Record.TSC); in accountRecord() 256 uint64_t D = diff(ThreadStack.back().TSC, Record.TSC); in accountRecord()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-xray/X86/ |
| H A D | fdr-dump-arg1-version-3.txt | 13 ; CHECK-NEXT: <TSC Wrap: base = 2034042117104344> 20 ; CHECK-NEXT: Metadata: <TSC Wrap: base = 2034049739853430>
|
| H A D | fdr-dump-arg1.txt | 10 ; CHECK-NEXT: <TSC Wrap: base = 18828908666540172>
|
| /llvm-project-15.0.7/llvm/include/llvm/XRay/ |
| H A D | FDRRecords.h | 160 uint64_t TSC = 0; variable 171 CPUId(C), TSC(T) {} in NewCPUIDRecord() 175 uint64_t tsc() const { return TSC; } in tsc() 208 uint64_t TSC = 0; variable 221 Size(S), TSC(T), CPU(C), Data(std::move(D)) {} in CustomEventRecord() 224 uint64_t tsc() const { return TSC; } in tsc()
|
| H A D | YAMLXRayRecord.h | 37 uint64_t TSC; member 86 IO.mapRequired("tsc", Record.TSC);
|
| H A D | XRayRecord.h | 86 uint64_t TSC; member
|
| /llvm-project-15.0.7/clang/lib/Interpreter/ |
| H A D | IncrementalExecutor.cpp | 31 IncrementalExecutor::IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC, in IncrementalExecutor() argument 34 : TSCtx(TSC) { in IncrementalExecutor()
|
| /llvm-project-15.0.7/compiler-rt/include/xray/ |
| H A D | xray_records.h | 92 uint64_t TSC = 0; member
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 521 const char *DeclSpec::getSpecifierName(TSC C) { in getSpecifierName() 680 bool DeclSpec::SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, in SetStorageClassSpecThread() argument 684 return BadSpecifier(TSC, (TSCS)ThreadStorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpecThread() 686 ThreadStorageClassSpec = TSC; in SetStorageClassSpecThread() 711 bool DeclSpec::SetTypeSpecComplex(TSC C, SourceLocation Loc, in SetTypeSpecComplex() 715 return BadSpecifier(C, (TSC)TypeSpecComplex, PrevSpec, DiagID); in SetTypeSpecComplex() 1392 if (DeclSpec::TSCS TSC = getThreadStorageClassSpec()) { in Finish() local 1394 SpecName += getSpecifierName(TSC); in Finish()
|