/openbsd-current/share/man/man4/man4.alpha/ |
H A D | Makefile | 4 lca.4 le.4 mem.4 mcbus.4 mcpcia.4 tcasic.4 tga.4 tsc.4 tsciic.4 zs.4
|
/openbsd-current/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/ |
H A D | ThreadDecoder.cpp | 28 Expected<std::optional<uint64_t>> tsc = 30 if (!tsc) 31 return tsc.takeError(); 32 lowest_tsc = *tsc;
|
H A D | PerfContextSwitchDecoder.cpp | 86 /// PerfContextSwitchRecord is that this one uses tsc instead of nanos. 88 uint64_t tsc; member in struct:ContextSwitchRecord 201 cpu_id, current_record.tid, current_record.pid, current_record.tsc)); 208 if (prev.tsc >= current_record.tsc) 213 prev.tsc, current_record.tsc)); 219 cpu_id, prev.tid, prev.pid, prev.tsc, current_record.tsc - 1)); 224 cpu_id, current_record.tid, current_record.pid, prev.tsc [all...] |
H A D | DecodedThread.cpp | 65 return interpolate(tsc_conversion.ToNanos(tsc + items_count)); 67 if (items_count < (next_range->tsc - tsc)) { 79 std::min(tsc_conversion.ToNanos(tsc + items_count), next_range->nanos)); 118 void DecodedThread::NotifyTsc(TSC tsc) { 119 if (m_last_tsc && (*m_last_tsc)->second.tsc == tsc) 122 assert(tsc >= (*m_last_tsc)->second.tsc && 126 m_tscs.emplace(GetItemsCount(), TSCRange{tsc, [all...] |
H A D | TraceIntelPTMultiCpuDecoder.cpp | 45 Expected<std::optional<uint64_t>> tsc = 47 if (!tsc) 48 return tsc.takeError(); 49 if (*tsc && (!lowest_tsc || *lowest_tsc > **tsc)) 50 lowest_tsc = **tsc; 142 *it->tsc < thread_execution.GetEndTSC(); 144 if (*it->tsc > thread_execution.GetStartTSC()) {
|
H A D | LibiptDecoder.cpp | 394 if (m_psb_block.tsc) 395 m_decoded_thread.NotifyTsc(*m_psb_block.tsc); 469 /// \param[in] tsc 471 Error ProcessPTEventTSC(DecodedThread::TSC tsc) { argument 472 if (m_tsc_upper_bound && tsc >= *m_tsc_upper_bound) { 481 tsc, *m_tsc_upper_bound) 494 m_decoded_thread.NotifyTsc(tsc); 520 if (Error err = ProcessPTEventTSC(event.tsc)) { 596 // We emit the first valid tsc 600 assert(execution.psb_blocks.front().tsc 716 std::optional<uint64_t> tsc; local [all...] |
H A D | DecodedThread.h | 68 TSC tsc; member in struct:lldb_private::trace_intel_pt::DecodedThread::TSCRange 86 TSC tsc; member in struct:lldb_private::trace_intel_pt::DecodedThread::NanosecondsRange 106 /// The tsc -> nanos conversion utility 233 /// Notify this object that a new tsc has been seen. 235 void NotifyTsc(TSC tsc);
|
H A D | LibiptDecoder.h | 29 std::optional<uint64_t> tsc; member in struct:lldb_private::trace_intel_pt::PSBBlock
|
H A D | TraceCursorIntelPT.cpp | 108 return range->tsc;
|
H A D | TraceIntelPT.cpp | 205 if (Expected<std::optional<uint64_t>> tsc = 207 lowest_tsc = *tsc; 209 return tsc.takeError(); 214 Expected<std::optional<uint64_t>> tsc = decoder.second->FindLowestTSC(); local 215 if (!tsc) 216 return tsc.takeError(); 218 if (*tsc && (!lowest_tsc || *lowest_tsc > **tsc)) 219 lowest_tsc = **tsc;
|
/openbsd-current/gnu/llvm/llvm/lib/XRay/ |
H A D | RecordPrinter.cpp | 27 OS << formatv("<CPU: id = {0}, tsc = {1}>", R.cpuid(), R.tsc()) << Delim; 32 OS << formatv("<TSC Wrap: base = {0}>", R.tsc()) << Delim; 38 "<Custom Event: tsc = {0}, cpu = {1}, size = {2}, data = '{3}'>", 39 R.tsc(), R.cpu(), R.size(), R.data())
|
H A D | FDRTraceExpander.cpp | 30 BaseTSC = R.tsc(); 35 BaseTSC = R.tsc(); 42 CurrentRecord.TSC = R.tsc();
|
H A D | FDRTraceWriter.cpp | 88 return writeMetadata<2u>(OS, R.cpuid(), R.tsc()); 92 return writeMetadata<3u>(OS, R.tsc()); 96 if (auto E = writeMetadata<5u>(OS, R.size(), R.tsc(), R.cpu()))
|
/openbsd-current/sys/arch/i386/include/ |
H A D | cpufunc.h | 226 uint64_t tsc; local 228 __asm volatile("rdtsc" : "=A" (tsc)); 229 return (tsc);
|
/openbsd-current/gnu/llvm/lldb/source/Utility/ |
H A D | TraceIntelPTGDBRemotePackets.cpp | 75 uint64_t LinuxPerfZeroTscConversion::ToNanos(uint64_t tsc) const { 76 uint64_t quot = tsc >> time_shift; 78 uint64_t rem = tsc & rem_flag;
|
/openbsd-current/sys/dev/sbus/ |
H A D | if_ti_sbus.c | 63 struct ti_sbus_softc *tsc = (void *)self; local 64 struct ti_softc *sc = &tsc->tsc_sc;
|
/openbsd-current/gnu/llvm/lldb/include/lldb/Utility/ |
H A D | TraceIntelPTGDBRemotePackets.h | 98 /// \param[in] tsc 103 uint64_t ToNanos(uint64_t tsc) const;
|
/openbsd-current/sys/net80211/ |
H A D | ieee80211_crypto_tkip.c | 317 ieee80211_tkip_get_tsc(uint64_t *tsc, uint64_t **prsc, struct mbuf *m, argument 342 *tsc = (u_int64_t)ivp[2] | 361 u_int64_t tsc, *prsc; local 380 if (ieee80211_tkip_get_tsc(&tsc, &prsc, m0, k) != 0) { 384 if (tsc <= *prsc) { 412 if (!ctx->rxttak_ok || (tsc >> 16) != (*prsc >> 16)) { 414 Phase1(ctx->rxttak, k->k_key, wh->i_addr2, tsc >> 16); 416 Phase2((u_int8_t *)wepseed, k->k_key, ctx->rxttak, tsc & 0xffff); 485 ieee80211_michael_mic_failure(ic, tsc); 490 *prsc = tsc; 538 ieee80211_michael_mic_failure(struct ieee80211com *ic, u_int64_t tsc) argument [all...] |
H A D | ieee80211_pae_output.c | 610 struct ieee80211_node *ni, u_int16_t info, u_int64_t tsc) 626 LE_WRITE_6(key->rsc, tsc); 609 ieee80211_send_eapol_key_req(struct ieee80211com *ic, struct ieee80211_node *ni, u_int16_t info, u_int64_t tsc) argument
|
/openbsd-current/sys/dev/pci/drm/i915/gt/ |
H A D | intel_llc.c | 6 #include <asm/tsc.h>
|
/openbsd-current/gnu/llvm/llvm/include/llvm/XRay/ |
H A D | FDRRecords.h | 175 uint64_t tsc() const { return TSC; } function in class:llvm::xray::NewCPUIDRecord 197 uint64_t tsc() const { return BaseTSC; } function in class:llvm::xray::TSCWrapRecord 224 uint64_t tsc() const { return TSC; } function in class:llvm::xray::CustomEventRecord
|
/openbsd-current/sys/arch/i386/i386/ |
H A D | cpu.c | 525 uint64_t tsc = 0; local 534 tsc = rdtsc(); 545 r ^= tsc;
|
/openbsd-current/sys/arch/amd64/amd64/ |
H A D | tsc.c | 1 /* $OpenBSD: tsc.c,v 1.32 2024/04/03 02:01:21 guenther Exp $ */ 54 .tc_name = "tsc", 188 get_tsc_and_timecount(struct timecounter *tc, uint64_t *tsc, uint64_t *count) argument 200 *tsc = tsc2; 488 printf("tsc: cpu0: IA32_TSC_ADJUST: %lld -> 0\n", 492 printf("tsc: %s: IA32_TSC_ADJUST: %lld -> 0\n", 496 printf("tsc: cpu0/%s: sync test round %u/%u failed\n", 500 printf("tsc: cpu0/%s: cpu0: %llu lags %llu cycles\n", 505 printf("tsc: cpu0/%s: %s: %llu lags %llu cycles\n", 511 printf("tsc [all...] |
/openbsd-current/sys/arch/alpha/pci/ |
H A D | tsc.c | 1 /* $OpenBSD: tsc.c,v 1.17 2022/03/13 08:04:13 mpi Exp $ */ 2 /* $NetBSD: tsc.c,v 1.3 2000/06/25 19:17:40 thorpej Exp $ */ 54 #define tsc() { Generate ctags(1) key. } macro 64 NULL, "tsc", DV_DULL,
|
/openbsd-current/sys/dev/pci/drm/i915/gvt/ |
H A D | trace.h | 37 #include <asm/tsc.h>
|