/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_fdr_controller.h | 146 PreambleResult recordPreamble(uint64_t TSC, in recordPreamble() argument 151 LatestTSC = TSC; in recordPreamble() 157 W.writeMetadata<MetadataRecord::RecordKinds::NewCPUId>(CPU, TSC); in recordPreamble() 163 if (UNLIKELY(LatestTSC > TSC || in recordPreamble() 164 TSC - LatestTSC > in recordPreamble() 169 LatestTSC = TSC; in recordPreamble() 174 W.writeMetadata<MetadataRecord::RecordKinds::TSCWrap>(TSC); in recordPreamble() 181 bool rewindRecords(int32_t FuncId, uint64_t TSC, in rewindRecords() argument 222 if ((TSC - RewindingTSC) >= CycleThreshold) { in rewindRecords() 244 bool functionEnter(int32_t FuncId, uint64_t TSC, in functionEnter() argument [all …]
|
H A D | xray_fdr_logging.cpp | 408 uint64_t TSC = 0; member 425 Result.TSC = __xray::readTSC(Result.CPU); in getTimestamp() 435 Result.TSC = TS.tv_sec * __xray::NanosecondsPerSecond + TS.tv_nsec; in getTimestamp() 494 auto &TSC = TC.TSC; in fdrLoggingHandleArg0() local 507 TLD.Controller->functionEnter(FuncId, TSC, CPU); in fdrLoggingHandleArg0() 510 TLD.Controller->functionExit(FuncId, TSC, CPU); in fdrLoggingHandleArg0() 513 TLD.Controller->functionTailExit(FuncId, TSC, CPU); in fdrLoggingHandleArg0() 524 auto &TSC = TC.TSC; in fdrLoggingHandleArg1() local 537 TLD.Controller->functionEnterArg(FuncId, TSC, CPU, Arg); in fdrLoggingHandleArg1() 540 TLD.Controller->functionExit(FuncId, TSC, CPU); in fdrLoggingHandleArg1() [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 | 354 void enterFunction(const int32_t FId, uint64_t TSC, in enterFunction() argument 376 if (ShadowStack.AppendEmplace(TSC, NewRoot, CPU) == nullptr) { in enterFunction() 396 if (ShadowStack.AppendEmplace(TSC, Callee->NodePtr, CPU) == nullptr) in enterFunction() 408 if (ShadowStack.AppendEmplace(TSC, NewNode, CPU) == nullptr) in enterFunction() 413 void exitFunction(int32_t FId, uint64_t TSC, in exitFunction() argument 447 Top.EntryTSC > TSC in exitFunction() 448 ? (std::numeric_limits<uint64_t>::max() - Top.EntryTSC) + TSC in exitFunction() 449 : TSC - Top.EntryTSC; in exitFunction()
|
H A D | xray_profiling.cpp | 271 auto TSC = readTSC(CPU); in profilingHandleArg0() local 295 FCT->enterFunction(FuncId, TSC, CPU); in profilingHandleArg0() 299 FCT->exitFunction(FuncId, TSC, CPU); in profilingHandleArg0()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | XCore.cpp | 121 mutable TypeStringCache TSC; member in __anonc019d7680111::XCoreTargetCodeGenInfo 294 TypeStringCache &TSC); 301 if (getTypeString(Enc, D, CGM, TSC)) { in emitTargetMD() 329 TypeStringCache &TSC); 337 TypeStringCache &TSC) { in extractFieldType() argument 349 if (!appendType(Enc, Field->getType(), CGM, TSC)) in extractFieldType() 364 TypeStringCache &TSC, const IdentifierInfo *ID) { in appendRecordType() argument 366 StringRef TypeString = TSC.lookupStr(ID); in appendRecordType() 390 TSC.addIncomplete(ID, std::move(StubEnc)); in appendRecordType() 391 if (!extractFieldType(FE, RD, CGM, TSC)) { in appendRecordType() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | IncrementalExecutor.cpp | 39 IncrementalExecutor::IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC) in IncrementalExecutor() argument 40 : TSCtx(TSC) {} in IncrementalExecutor() 56 IncrementalExecutor::IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC, in IncrementalExecutor() argument 59 : TSCtx(TSC) { in IncrementalExecutor()
|
H A D | IncrementalExecutor.h | 47 IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC); 52 IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC,
|
H A D | Wasm.cpp | 62 llvm::orc::ThreadSafeContext &TSC) in WasmIncrementalExecutor() argument 63 : IncrementalExecutor(TSC) {} in WasmIncrementalExecutor()
|
H A D | Wasm.h | 26 WasmIncrementalExecutor(llvm::orc::ThreadSafeContext &TSC);
|
/freebsd/contrib/llvm-project/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 | 129 Record.TSC = Reader.getU64(&OffsetPtr); in loadNaiveFormatLog() 133 "Failed reading TSC field at offset %" PRId64 ".", OffsetPtr); in loadNaiveFormatLog() 238 /// NewCPUId: 16 byte metadata record with CPUId and a 64 bit TSC reading. 241 /// TSCWrap: 16 byte metadata record with a full 64 bit TSC reading. 242 /// FunctionRecord: 8 byte record with FunctionId, entry/exit, and TSC delta. 264 /// CustomEventRecord and TypedEventRecord now use TSC delta encoding similar to 374 R.FuncId, R.TSC, R.TId, in loadYAMLLog() 474 return L.TSC < R.TSC; in loadTrace()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | DecodedThread.h | 64 using TSC = uint64_t; 67 /// the same TSC value. 69 TSC tsc; 86 /// The corresponding TSC value for this range. 87 TSC tsc; 187 /// that have the same TSC value. 193 /// The requested TSC range, or \a std::nullopt if not available. 235 /// If this a new TSC, an event will be created. 236 void NotifyTsc(TSC tsc); 284 /// `item index -> TSC`, wher [all...] |
H A D | TraceIntelPTOptions.td | 22 Desc<"Enable the use of TSC timestamps. This is supported on all " 32 "TSC timestamp and the current absolute instruction pointer. " 74 "option forces the capture of TSC timestamps (see --tsc). Also, " 100 Desc<"Enable the use of TSC timestamps. This is supported on all " 110 "TSC timestamp and the current absolute instruction pointer. "
|
H A D | LibiptDecoder.cpp | 337 /// Any of this PSB's data occurring after this TSC will be excluded. 341 std::optional<DecodedThread::TSC> tsc_upper_bound) in PSBBlockDecoder() 375 std::optional<DecodedThread::TSC> tsc_upper_bound) { in Create() 391 // We emit a TSC before a sync event to more easily associate a timestamp to in DecodePSBBlock() 392 // the sync event. If present, the current block's TSC would be the first in DecodePSBBlock() 393 // TSC we'll see when processing events. in DecodePSBBlock() 464 /// Process the TSC of a decoded PT event. Specifically, check if this TSC 465 /// is below the TSC upper bound for this PSB. If the TSC exceed [all...] |
H A D | DecodedThread.cpp | 61 // If this is the last TSC range, so we have to extrapolate. In this case, in GetInterpolatedTime() 62 // we assume that each instruction took one TSC, which is what an in GetInterpolatedTime() 68 // If the numbers of items in this range is less than the total TSC duration in GetInterpolatedTime() 69 // of this range, i.e. each instruction taking longer than 1 TSC, then we in GetInterpolatedTime() 72 // also assume that each instruction took 1 TSC. A proper way to improve in GetInterpolatedTime() 82 // In this case, each item took less than 1 TSC, so some parallelism was in GetInterpolatedTime() 120 void DecodedThread::NotifyTsc(TSC tsc) { in NotifyTsc() 259 (sizeof(uint64_t) + sizeof(TSC)) * m_tscs.size() +
|
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | lpc32xx-tsc.txt | 1 * NXP LPC32xx SoC Touchscreen Controller (TSC) 7 - interrupts: The TSC/ADC interrupt
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/ |
H A D | xray-stacks.cpp | 373 // When we encounter a new function entry, we want to record the TSC for in accountRecord() 380 R.TSC); in accountRecord() 394 TS.emplace_back(N, R.TSC); in accountRecord() 397 // instead, add it to the stack associated with the 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) in accountRecord() [all...] |
H A D | xray-account.cpp | 161 setMinMax(PerThreadMinMaxTSC[Record.TId], Record.TSC); in accountRecord() 162 setMinMax(PerCPUMinMaxTSC[Record.CPU], Record.TSC); in accountRecord() 165 CurrentMaxTSC = Record.TSC; in accountRecord() 167 if (Record.TSC < CurrentMaxTSC) in accountRecord() 180 ThreadStack.Stack.emplace_back(Record.FuncId, Record.TSC); in accountRecord() 194 recordLatency(Top.first, diff(Top.second, Record.TSC)); in accountRecord() 245 recordLatency(E.first, diff(E.second, Record.TSC)); in accountRecord() 492 Record.TSC, Record.TId, Record.PId) in __anon895715230f02()
|
H A D | xray-graph.cpp | 214 CurrentMaxTSC = Record.TSC; in accountRecord() 216 if (Record.TSC < CurrentMaxTSC) in accountRecord() 226 ThreadStack.push_back({Record.FuncId, Record.TSC}); in accountRecord() 247 TimestampT D = diff(ThreadStack.back().TSC, Record.TSC); in accountRecord() 258 uint64_t D = diff(ThreadStack.back().TSC, Record.TSC); in accountRecord()
|
/freebsd/contrib/llvm-project/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
|
/freebsd/contrib/llvm-project/compiler-rt/include/xray/ |
H A D | xray_records.h | 92 uint64_t TSC = 0; member
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | DeclSpec.cpp | 538 const char *DeclSpec::getSpecifierName(TSC C) { in getSpecifierName() 704 bool DeclSpec::SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, in SetStorageClassSpecThread() argument 708 return BadSpecifier(TSC, (TSCS)ThreadStorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpecThread() 710 ThreadStorageClassSpec = TSC; in SetStorageClassSpecThread() 735 bool DeclSpec::SetTypeSpecComplex(TSC C, SourceLocation Loc, in SetTypeSpecComplex() 739 return BadSpecifier(C, (TSC)TypeSpecComplex, PrevSpec, DiagID); in SetTypeSpecComplex() 1446 if (DeclSpec::TSCS TSC = getThreadStorageClassSpec()) { in Finish() local 1448 SpecName += getSpecifierName(TSC); in Finish()
|