/freebsd-11-stable/contrib/ntp/util/ |
H A D | pps-api.c | 31 Chew(struct timespec *tsa, struct timespec *tsc, unsigned sa, unsigned sc) argument 37 printf("%d.%09d ", tsc->tv_sec, tsc->tv_nsec); 40 ts = *tsc;
|
/freebsd-11-stable/sys/x86/x86/ |
H A D | tsc.c | 28 __FBSDID("$FreeBSD: stable/11/sys/x86/x86/tsc.c 363433 2020-07-22 21:17:02Z jkim $"); 388 uint64_t *tsc = arg; \ 392 tsc[cpu * 3 + x] = rdtsc(); \ 404 uint64_t *tsc; local 410 for (i = 0, tsc = arg; i < N; i++, tsc += size) 414 d1 = tsc[cpu * 3 + 1] - tsc[j * 3]; 415 d2 = tsc[cpu * 3 + 2] - tsc[ 426 uint64_t *tsc; local 469 uint64_t *data, *tsc; local [all...] |
/freebsd-11-stable/contrib/llvm-project/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 | 90 return writeMetadata<2u>(OS, R.cpuid(), R.tsc()); 94 return writeMetadata<3u>(OS, R.tsc()); 98 if (auto E = writeMetadata<5u>(OS, R.size(), R.tsc(), R.cpu()))
|
/freebsd-11-stable/tools/tools/tscdrift/ |
H A D | tscdrift.c | 98 uint64_t tsc; local 145 tsc = rdtsc(); 152 skew[i][j] = thread_tsc - tsc;
|
/freebsd-11-stable/tools/test/ppsapi/ |
H A D | ppsapitest.c | 22 Chew(struct timespec *tsa, struct timespec *tsc, unsigned sa, unsigned sc) argument 25 printf(" %jd .%09ld %u\n", (intmax_t)tsc->tv_sec, tsc->tv_nsec, sc);
|
/freebsd-11-stable/sys/dev/hyperv/vmbus/amd64/ |
H A D | hyperv_machdep.c | 143 uint64_t disc, ret, tsc; \ 148 tsc = rdtsc(); \ 150 /* ret = ((tsc * scale) >> 64) + ofs */ \ 153 "a" (tsc), "r" (scale)); \
|
/freebsd-11-stable/sys/cddl/dev/dtrace/amd64/ |
H A D | dtrace_subr.c | 361 uint64_t tsc; local 372 tsc = rdtsc() - tsc_skew[curcpu]; 375 lo = tsc; 376 hi = tsc >> 32;
|
/freebsd-11-stable/sys/cddl/dev/dtrace/i386/ |
H A D | dtrace_subr.c | 363 uint64_t tsc; local 374 tsc = rdtsc() - tsc_skew[curcpu]; 377 lo = tsc; 378 hi = tsc >> 32;
|
/freebsd-11-stable/lib/libc/x86/sys/ |
H A D | __vdso_gettc.c | 258 uint64_t disc, ret, tsc, scale; local 267 tsc = rdtsc(); 269 /* ret = ((tsc * scale) >> 64) + ofs */ 272 "a" (tsc), "r" (scale));
|
/freebsd-11-stable/sys/net/ |
H A D | if_gif.c | 957 struct gif_softc *tsc; local 972 LIST_FOREACH(tsc, &V_gif_softc_list, gif_list) { 973 if (tsc == sc || tsc->gif_family != src->sa_family) 976 if (tsc->gif_family == AF_INET && 977 tsc->gif_iphdr->ip_src.s_addr == 979 tsc->gif_iphdr->ip_dst.s_addr == 987 if (tsc->gif_family == AF_INET6 && 988 IN6_ARE_ADDR_EQUAL(&tsc->gif_ip6hdr->ip6_src, 990 IN6_ARE_ADDR_EQUAL(&tsc [all...] |
H A D | if_gre.c | 565 struct gre_softc *sc, *tsc; local 578 LIST_FOREACH(tsc, &V_gre_softc_list, gre_list) { 579 if (tsc == sc || tsc->gre_family != src->sa_family) 582 if (tsc->gre_family == AF_INET && 583 tsc->gre_oip.ip_src.s_addr == 585 tsc->gre_oip.ip_dst.s_addr == 592 if (tsc->gre_family == AF_INET6 && 593 IN6_ARE_ADDR_EQUAL(&tsc->gre_oip6.ip6_src, 595 IN6_ARE_ADDR_EQUAL(&tsc [all...] |
H A D | if_me.c | 357 struct me_softc *sc, *tsc; local 362 LIST_FOREACH(tsc, &V_me_softc_list, me_list) { 363 if (tsc == sc || !ME_READY(tsc)) 365 if (tsc->me_src.s_addr == src->sin_addr.s_addr && 366 tsc->me_dst.s_addr == dst->sin_addr.s_addr) {
|
H A D | if_ipsec.c | 876 struct ipsec_softc *sc, *tsc; local 911 LIST_FOREACH(tsc, &V_ipsec_sc_list, chain) { 912 if (tsc == sc || tsc->family != src->sa_family) 914 saidx = ipsec_getsaidx(tsc, IPSEC_DIR_OUTBOUND, tsc->family);
|
H A D | if_vxlan.c | 1341 struct vxlan_softc *tsc; local 1348 tsc = vxlan_socket_lookup_softc_locked(vso, vni); 1349 if (tsc != NULL) { 1351 vxlan_release(tsc); 3099 struct vxlan_softc *sc, *tsc; local 3113 LIST_FOREACH_SAFE(sc, &list, vxl_ifdetach_list, tsc) {
|
/freebsd-11-stable/sys/xen/interface/arch-x86/hvm/ |
H A D | save.h | 145 uint64_t tsc; member in struct:hvm_hw_cpu 254 uint64_t tsc; member in struct:hvm_hw_cpu_compat 282 ucpu->nat.tsc = ucpu->cmp.tsc;
|
/freebsd-11-stable/lib/libpmc/ |
H A D | Makefile | 52 MAN+= pmc.tsc.3
|
H A D | libpmc.c | 423 PMC_CLASS_TABLE_DESC(tsc, TSC, tsc, tsc); 571 EV_ALIAS("cycles", "tsc"), 679 EV_ALIAS("cycles", "tsc-tsc"), 699 EV_ALIAS("cycles", "tsc-tsc"), 710 EV_ALIAS("cycles", "tsc-tsc"), [all...] |
/freebsd-11-stable/contrib/llvm-project/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
|
/freebsd-11-stable/sys/dev/amd_ecc_inject/ |
H A D | ecc_inject.c | 243 DEV_MODULE(tsc, tsc_modevent, NULL);
|
/freebsd-11-stable/sys/kern/ |
H A D | sched_4bsd.c | 776 struct td_sched *ts, *tsc; local 785 tsc = td_get_sched(td); 786 ts->ts_estcpu = tsc->ts_estcpu; 787 ts->ts_flags |= (tsc->ts_flags & TSF_AFFINITY);
|
/freebsd-11-stable/sys/dev/mwl/ |
H A D | mwlhal.h | 444 } tsc; member in struct:__anon11049::__anon11050::__anon11051
|
H A D | mwlhal.c | 1208 htole16(kv->key.tkip.tsc.low); 1210 htole32(kv->key.tkip.tsc.high);
|
/freebsd-11-stable/sys/dev/iwn/ |
H A D | if_iwnreg.h | 694 uint64_t tsc; member in struct:iwn_node_info
|