Searched refs:TSC (Results 1 - 15 of 15) sorted by relevance

/src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_fdr_controller.h147 PreambleResult recordPreamble(uint64_t TSC, argument
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);
182 rewindRecords(int32_t FuncId,uint64_t TSC,uint16_t CPU) argument
245 functionEnter(int32_t FuncId,uint64_t TSC,uint16_t CPU) argument
269 functionTailExit(int32_t FuncId,uint64_t TSC,uint16_t CPU) argument
294 functionEnterArg(int32_t FuncId,uint64_t TSC,uint16_t CPU,uint64_t Arg) argument
311 functionExit(int32_t FuncId,uint64_t TSC,uint16_t CPU) argument
334 customEvent(uint64_t TSC,uint16_t CPU,const void * Event,int32_t EventSize) argument
348 typedEvent(uint64_t TSC,uint16_t CPU,uint16_t EventType,const void * Event,int32_t EventSize) argument
[all...]
H A Dxray_fdr_logging.cc158 // metadata records for TSC wraparound and CPU migration).
413 uint64_t TSC = 0; member in struct:__xray::TSCAndCPU
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; local in function:__xray::fdrLoggingHandleArg0
512 TLD.Controller->functionEnter(FuncId, TSC, CPU);
515 TLD.Controller->functionExit(FuncId, TSC, CPU);
518 TLD.Controller->functionTailExit(FuncId, TSC, CP
529 auto &TSC = TC.TSC; local in function:__xray::fdrLoggingHandleArg1
559 auto &TSC = TC.TSC; local in function:__xray::fdrLoggingHandleCustomEvent
589 auto &TSC = TC.TSC; local in function:__xray::fdrLoggingHandleTypedEvent
[all...]
H A Dxray_basic_logging.cc46 // We use elements of this type to record the entry TSC of every function ID we
53 uint64_t TSC; member in struct:__xray::__anon93d8eca50110::StackEntry
174 uint64_t TSC = ReadTSC(CPU); local in function:__xray::InMemoryRawLog
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...]
H A Dxray_function_call_trie.h116 uint64_t CumulativeLocalTime; // Typically in TSC deltas, not wall-time.
359 void enterFunction(const int32_t FId, uint64_t TSC, argument
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, argument
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 an
[all...]
H A Dxray_profiling.cc275 auto TSC = readTSC(CPU); local in function:__xray::profilingHandleArg0
299 FCT->enterFunction(FuncId, TSC, CPU);
303 FCT->exitFunction(FuncId, TSC, CPU);
/src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
H A Dfdr_controller_test.cc84 uint64_t TSC = 2; local in function:__xray::__anon7b5049890110::TEST_F
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; local in function:__xray::__anon7b5049890110::TEST_F
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
168 uint64_t TSC = 1; local in function:__xray::__anon7b5049890110::TEST_F
195 uint64_t TSC = 1; local in function:__xray::__anon7b5049890110::TEST_F
222 uint64_t TSC = 1; local in function:__xray::__anon7b5049890110::TEST_F
256 uint64_t TSC = 1; local in function:__xray::__anon7b5049890110::TEST_F
320 uint64_t TSC = 1; local in function:__xray::__anon7b5049890110::TEST_F
336 uint64_t TSC = 1; local in function:__xray::__anon7b5049890110::TEST_F
353 uint64_t TSC = 1; local in function:__xray::__anon7b5049890110::TEST_F
374 uint64_t TSC = 1; local in function:__xray::__anon7b5049890110::TEST_F
401 uint64_t TSC = 1; local in function:__xray::__anon7b5049890110::TEST_F
[all...]
H A Dtest_helpers.h50 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);
H A Dfdr_log_writer_test.cc98 uint64_t TSC = 1; local in function:__xray::__anonce3141430110::TEST
100 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Enter, 1, TSC++));
102 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Exit, 1, TSC++));
114 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Enter, 1, TSC++));
H A Dtest_helpers.cc48 << "; TSC = " << R.TSC << "; TId = " << R.TId << "; PId = " << R.PId
H A Dfunction_call_trie_test.cc32 uint64_t TSC = 1; local in function:__xray::__anon8931c61e0110::TEST
34 Trie.enterFunction(1, TSC++, CPU++);
35 Trie.exitFunction(1, TSC++, CPU++);
/src/sys/external/bsd/compiler_rt/dist/include/xray/
H A Dxray_records.h52 // 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; member in struct:__xray::XRayRecord
/src/sys/external/gpl2/dts/dist/include/dt-bindings/clock/
H A Dstm32mp13-clks.h103 #define TSC 73 macro
/src/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/
H A Dcpufeatureset.h97 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/nxp/imx/
H A Dimx6ull-dhcom-som.dtsi311 disable-over-current; /* Overcurrent pin is used for TSC */
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/nxp/lpc/
H A Dlpc32xx.dtsi430 * TSC vs. ADC: Since those two share the same

Completed in 21 milliseconds