HomeSort by: relevance | last modified time | path
    Searched refs:TSC (Results 1 - 13 of 13) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_fdr_controller.h 147 PreambleResult recordPreamble(uint64_t TSC,
150 // We update our internal tracking state for the Latest TSC and CPU we've
152 LatestTSC = TSC;
158 W.writeMetadata<MetadataRecord::RecordKinds::NewCPUId>(CPU, TSC);
164 if (UNLIKELY(LatestTSC > TSC ||
165 TSC - LatestTSC >
167 // Either the TSC has wrapped around from the last TSC we've seen or the
170 LatestTSC = TSC;
175 W.writeMetadata<MetadataRecord::RecordKinds::TSCWrap>(TSC);
    [all...]
xray_fdr_logging.cc 158 // metadata records for TSC wraparound and CPU migration).
413 uint64_t TSC = 0;
418 // We want to get the TSC as early as possible, so that we can check whether
430 Result.TSC = __xray::readTSC(Result.CPU);
440 Result.TSC = TS.tv_sec * __xray::NanosecondsPerSecond + TS.tv_nsec;
499 auto &TSC = TC.TSC;
512 TLD.Controller->functionEnter(FuncId, TSC, CPU);
515 TLD.Controller->functionExit(FuncId, TSC, CPU);
518 TLD.Controller->functionTailExit(FuncId, TSC, CPU)
    [all...]
xray_basic_logging.cc 46 // We use elements of this type to record the entry TSC of every function ID we
53 uint64_t TSC;
174 uint64_t TSC = ReadTSC(CPU);
183 // When we encounter an entry event, we keep track of the TSC and the CPU,
189 E.TSC = TSC;
218 StackTop.TSC < TSC) {
219 auto Delta = TSC - StackTop.TSC;
    [all...]
xray_function_call_trie.h 116 uint64_t CumulativeLocalTime; // Typically in TSC deltas, not wall-time.
359 void enterFunction(const int32_t FId, uint64_t TSC,
381 if (ShadowStack.AppendEmplace(TSC, NewRoot, CPU) == nullptr) {
401 if (ShadowStack.AppendEmplace(TSC, Callee->NodePtr, CPU) == nullptr)
413 if (ShadowStack.AppendEmplace(TSC, NewNode, CPU) == nullptr)
418 void exitFunction(int32_t FId, uint64_t TSC,
438 // We may encounter overflow on the TSC we're provided, which may end up
439 // being less than the TSC when we first entered the function.
442 // we've overflowed (TSC < Top.EntryTSC) and then account the difference
443 // between the entry TSC and the max for the TSC counter (max of uint64_t
    [all...]
xray_profiling.cc 275 auto TSC = readTSC(CPU);
299 FCT->enterFunction(FuncId, TSC, CPU);
303 FCT->exitFunction(FuncId, TSC, CPU);
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
fdr_controller_test.cc 84 uint64_t TSC = 2;
86 ASSERT_TRUE(C->functionEnter(FId, TSC++, CPU));
87 ASSERT_TRUE(C->functionExit(FId, TSC++, CPU));
88 ASSERT_TRUE(C->functionEnterArg(FId, TSC++, CPU, 1));
89 ASSERT_TRUE(C->functionTailExit(FId, TSC++, CPU));
143 uint64_t TSC = 1;
145 ASSERT_TRUE(C->functionEnter(1, TSC++, CPU));
146 ASSERT_TRUE(C->functionEnter(2, TSC++, CPU));
147 ASSERT_TRUE(C->functionExit(2, TSC++, CPU));
148 ASSERT_TRUE(C->functionExit(1, TSC += 1000, CPU))
    [all...]
test_helpers.h 50 MATCHER_P(TSCIs, M, std::string("TSC is ") + ::testing::PrintToString(M)) {
51 return ::testing::Matcher<decltype(arg.TSC)>(M).MatchAndExplain(
52 arg.TSC, result_listener);
fdr_log_writer_test.cc 98 uint64_t TSC = 1;
100 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Enter, 1, TSC++));
102 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Exit, 1, TSC++));
114 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Enter, 1, TSC++));
test_helpers.cc 48 << "; TSC = " << R.TSC << "; TId = " << R.TId << "; PId = " << R.PId
function_call_trie_test.cc 32 uint64_t TSC = 1;
34 Trie.enterFunction(1, TSC++, CPU++);
35 Trie.exitFunction(1, TSC++, CPU++);
  /src/sys/external/bsd/compiler_rt/dist/include/xray/
xray_records.h 52 // The frequency by which TSC increases per-second.
92 // Get the full 8 bytes of the TSC when we get the log record.
93 uint64_t TSC = 0;
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/
cpufeatureset.h 97 XEN_CPUFEATURE(TSC, 0*32+ 4) /*A Time Stamp Counter */
144 XEN_CPUFEATURE(TSC_DEADLINE, 1*32+24) /*S TSC Deadline Timer */
235 XEN_CPUFEATURE(ITSC, 7*32+ 8) /* Invariant TSC */
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
lpc32xx.dtsi 430 * TSC vs. ADC: Since those two share the same
445 tsc: tsc@40048000 { label
446 compatible = "nxp,lpc3220-tsc";

Completed in 16 milliseconds