| /freebsd-12.1/contrib/compiler-rt/lib/xray/ |
| H A D | xray_fdr_controller.h | 152 LatestTSC = TSC; in recordPreamble() 165 TSC - LatestTSC > in recordPreamble() 170 LatestTSC = TSC; in recordPreamble() 262 auto Delta = TSC - LatestTSC; in functionEnter() 263 LastFunctionEntryTSC = TSC; in functionEnter() 264 LatestTSC = TSC; in functionEnter() 289 LatestTSC = TSC; in functionTailExit() 302 LatestTSC = TSC; in functionEnterArg() 327 LatestTSC = TSC; in functionExit() 342 LatestTSC = TSC; in customEvent() [all …]
|
| H A D | xray_fdr_logging.cc | 413 uint64_t TSC = 0; member 430 Result.TSC = __xray::readTSC(Result.CPU); in getTimestamp() 499 auto &TSC = TC.TSC; in fdrLoggingHandleArg0() local 512 TLD.Controller->functionEnter(FuncId, TSC, CPU); in fdrLoggingHandleArg0() 515 TLD.Controller->functionExit(FuncId, TSC, CPU); in fdrLoggingHandleArg0() 518 TLD.Controller->functionTailExit(FuncId, TSC, CPU); in fdrLoggingHandleArg0() 529 auto &TSC = TC.TSC; in fdrLoggingHandleArg1() local 545 TLD.Controller->functionExit(FuncId, TSC, CPU); in fdrLoggingHandleArg1() 548 TLD.Controller->functionTailExit(FuncId, TSC, CPU); in fdrLoggingHandleArg1() 559 auto &TSC = TC.TSC; in fdrLoggingHandleCustomEvent() local [all …]
|
| H A D | xray_basic_logging.cc | 53 uint64_t TSC; member 174 uint64_t TSC = ReadTSC(CPU); in InMemoryRawLog() local 189 E.TSC = TSC; in InMemoryRawLog() 218 StackTop.TSC < TSC) { in InMemoryRawLog() 219 auto Delta = TSC - StackTop.TSC; in InMemoryRawLog() 239 R.TSC = TSC; in InMemoryRawLog()
|
| H A D | xray_function_call_trie.h | 359 void enterFunction(const int32_t FId, uint64_t TSC, in enterFunction() argument 381 if (ShadowStack.AppendEmplace(TSC, NewRoot, CPU) == nullptr) { in enterFunction() 401 if (ShadowStack.AppendEmplace(TSC, Callee->NodePtr, CPU) == nullptr) in enterFunction() 413 if (ShadowStack.AppendEmplace(TSC, NewNode, CPU) == nullptr) in enterFunction() 418 void exitFunction(int32_t FId, uint64_t TSC, in exitFunction() argument 452 Top.EntryTSC > TSC in exitFunction() 453 ? (std::numeric_limits<uint64_t>::max() - Top.EntryTSC) + TSC in exitFunction() 454 : TSC - Top.EntryTSC; in exitFunction()
|
| H A D | xray_profiling.cc | 275 auto TSC = readTSC(CPU); in profilingHandleArg0() local 299 FCT->enterFunction(FuncId, TSC, CPU); in profilingHandleArg0() 303 FCT->exitFunction(FuncId, TSC, CPU); in profilingHandleArg0()
|
| /freebsd-12.1/contrib/llvm/lib/XRay/ |
| H A D | FDRTraceExpander.cpp | 43 CurrentRecord.TSC = R.tsc(); in visit() 58 CurrentRecord.TSC = BaseTSC; in visit() 73 CurrentRecord.TSC = BaseTSC; in visit() 117 CurrentRecord.TSC = BaseTSC; in visit()
|
| H A D | Trace.cpp | 126 Record.TSC = Reader.getU64(&OffsetPtr); in loadNaiveFormatLog() 367 R.FuncId, R.TSC, R.TId, in loadYAMLLog() 467 return L.TSC < R.TSC; in loadTrace()
|
| H A D | Profile.cpp | 345 TSD.push_back({E.TSC, E.FuncId}); in profileFromTrace() 357 auto FunctionLocalTime = AbsoluteDifference(Top.Timestamp, E.TSC); in profileFromTrace()
|
| H A D | RecordInitializer.cpp | 72 R.TSC = E.getU64(&OffsetPtr); in visit() 121 R.TSC = E.getU64(&OffsetPtr); in visit()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-xray/ |
| H A D | xray-account.cpp | 138 setMinMax(PerThreadMinMaxTSC[Record.TId], Record.TSC); in accountRecord() 139 setMinMax(PerCPUMinMaxTSC[Record.CPU], Record.TSC); in accountRecord() 142 CurrentMaxTSC = Record.TSC; in accountRecord() 144 if (Record.TSC < CurrentMaxTSC) in accountRecord() 155 ThreadStack.emplace_back(Record.FuncId, Record.TSC); in accountRecord() 165 recordLatency(Top.first, diff(Top.second, Record.TSC)); in accountRecord() 212 recordLatency(E.first, diff(E.second, Record.TSC)); in accountRecord() 454 Record.TSC, Record.TId, Record.PId) in __anon1c2a34480f02()
|
| H A D | xray-stacks.cpp | 382 R.TSC); in accountRecord() 396 TS.emplace_back(N, R.TSC); in accountRecord() 400 TS.emplace_back(*I, R.TSC); in accountRecord() 434 std::max(E.second, R.TSC) - std::min(E.second, R.TSC)); in accountRecord() 438 std::max(Deepest.second, R.TSC) - std::min(Deepest.second, R.TSC)); in accountRecord() 441 std::max(Deepest.second, R.TSC) - std::min(Deepest.second, R.TSC)); in accountRecord()
|
| H A D | xray-graph.cpp | 196 CurrentMaxTSC = Record.TSC; in accountRecord() 198 if (Record.TSC < CurrentMaxTSC) in accountRecord() 208 ThreadStack.push_back({Record.FuncId, Record.TSC}); in accountRecord() 228 TimestampT D = diff(ThreadStack.back().TSC, Record.TSC); in accountRecord() 239 uint64_t D = diff(ThreadStack.back().TSC, Record.TSC); in accountRecord()
|
| H A D | xray-converter.cpp | 94 R.TSC, R.TId, R.PId, R.CallArgs, R.Data}); in exportAsYAML() 149 Writer.write(R.TSC); in exportAsRAWv1() 299 double EventTimestampUs = double(1000000) / CycleFreq * double(R.TSC); in exportAsChromeTraceEventFormat()
|
| H A D | xray-graph.h | 77 uint64_t TSC; member
|
| /freebsd-12.1/contrib/llvm/include/llvm/XRay/ |
| H A D | FDRRecords.h | 161 uint64_t TSC = 0; variable 172 CPUId(C), TSC(T) {} in NewCPUIDRecord() 176 uint64_t tsc() const { return TSC; } in tsc() 209 uint64_t TSC = 0; variable 222 Size(S), TSC(T), CPU(C), Data(std::move(D)) {} in CustomEventRecord() 225 uint64_t tsc() const { return TSC; } in tsc()
|
| H A D | YAMLXRayRecord.h | 38 uint64_t TSC; member 87 IO.mapRequired("tsc", Record.TSC);
|
| H A D | XRayRecord.h | 87 uint64_t TSC; member
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 502 const char *DeclSpec::getSpecifierName(TSC C) { in getSpecifierName() 643 bool DeclSpec::SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, in SetStorageClassSpecThread() argument 647 return BadSpecifier(TSC, (TSCS)ThreadStorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpecThread() 649 ThreadStorageClassSpec = TSC; in SetStorageClassSpecThread() 674 bool DeclSpec::SetTypeSpecComplex(TSC C, SourceLocation Loc, in SetTypeSpecComplex() 678 return BadSpecifier(C, (TSC)TypeSpecComplex, PrevSpec, DiagID); in SetTypeSpecComplex() 1277 if (DeclSpec::TSCS TSC = getThreadStorageClassSpec()) { in Finish() local 1279 SpecName += getSpecifierName(TSC); in Finish()
|
| /freebsd-12.1/contrib/compiler-rt/include/xray/ |
| H A D | xray_records.h | 93 uint64_t TSC = 0; member
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 8515 mutable TypeStringCache TSC; member in __anon2eb210401711::XCoreTargetCodeGenInfo 8688 if (getTypeString(Enc, D, CGM, TSC)) { in emitTargetMD() 8727 TypeStringCache &TSC); 8764 StringRef TypeString = TSC.lookupStr(ID); in appendRecordType() 8788 TSC.addIncomplete(ID, std::move(StubEnc)); in appendRecordType() 8789 if (!extractFieldType(FE, RD, CGM, TSC)) { in appendRecordType() 8790 (void) TSC.removeIncomplete(ID); in appendRecordType() 8793 IsRecursive = TSC.removeIncomplete(ID); in appendRecordType() 8816 StringRef TypeString = TSC.lookupStr(ID); in appendEnumType() 8975 if (!appendType(Enc, *I, CGM, TSC)) in appendFunctionType() [all …]
|
| /freebsd-12.1/sys/dev/hwpmc/ |
| H A D | hwpmc_logging.c | 124 #define _PMCLOG_RESERVE_SAFE(PO,TYPE,LEN,ACTION, TSC) do { \ argument 133 ph->pl_tsc = (TSC); \ 155 #define PMCLOG_RESERVE_SAFE(P,T,L,TSC) _PMCLOG_RESERVE_SAFE(P,T,L,return,TSC) argument
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 258 enum TSC { enum 481 TSC getTypeSpecComplex() const { return (TSC)TypeSpecComplex; } in getTypeSpecComplex() 539 static const char *getSpecifierName(DeclSpec::TSC C); 642 bool SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, 646 bool SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec,
|
| /freebsd-12.1/contrib/processor-trace/libipt/include/ |
| H A D | intel-pt.h.in | 672 /** A TSC packet. */ 674 /** The TSC value. */ 1595 * on the configuration, the time may not be fully accurate. If TSC is not 1597 * to correlate with other TSC-based time sources. In this case, -pte_no_time 1610 * Returns -pte_no_time if there has not been a TSC packet. 2089 * on the configuration, the time may not be fully accurate. If TSC is not 2091 * to correlate with other TSC-based time sources. In this case, -pte_no_time 2104 * Returns -pte_no_time if there has not been a TSC packet. 2368 * on the configuration, the time may not be fully accurate. If TSC is not 2370 * to correlate with other TSC-based time sources. In this case, -pte_no_time [all …]
|
| /freebsd-12.1/sys/arm/conf/ |
| H A D | DOCKSTAR | 150 options ALTQ_NOPCC # Required if the TSC is unusable
|
| H A D | DREAMPLUG-1001 | 158 options ALTQ_NOPCC # Required if the TSC is unusable
|