/xen/tools/xentrace/ |
A D | formats | 29 0x00028008 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) sched_ctl 32 0x0002800b CPU%(cpu)d %(tsc)d (+%(reltsc)8d) s_timer_fn 33 0x0002800c CPU%(cpu)d %(tsc)d (+%(reltsc)8d) t_timer_fn 34 0x0002800d CPU%(cpu)d %(tsc)d (+%(reltsc)8d) dom_timer_fn 92 0x00081001 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) VMENTRY 95 0x00081401 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) nVMENTRY 112 0x0008200B CPU%(cpu)d %(tsc)d (+%(reltsc)8d) DR_WRITE 117 0x00082010 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) NMI 118 0x00082011 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) SMI 123 0x00082015 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) MCE [all …]
|
A D | xentrace_format | 140 tsc = 0 146 tsc = struct.unpack(TSCREC, line)[0] 213 elif tsc < last_tsc[cpu] and tsc_in == 1: 214 print "TSC stepped backward cpu %d ! %d %d" % (cpu,tsc,last_tsc[cpu]) 218 reltsc = tsc - last_tsc[cpu] 223 last_tsc[cpu] = tsc 226 tsc = tsc / (mhz*1000000.0) 229 'tsc' : tsc,
|
A D | xenalyze.c | 4954 if(v->runstate.tsc > 0 && v->runstate.tsc < tsc) { in runstate_update() 4962 cycles_to_time(tsc - v->runstate.tsc, &dt); in runstate_update() 5021 v->runstate.tsc = tsc; in runstate_update() 6881 p->time.tsc = tsc; in vcpu_next_update() 7117 if(ri->tsc < last_oldstate.tsc) { in sched_runstate_process() 7119 ri->tsc, last_oldstate.tsc); in sched_runstate_process() 7171 v->runstate.last_oldstate.tsc = ri->tsc; in sched_runstate_process() 8890 if(ri->tsc > p->lost_record.tsc) in process_lost_records_end() 9109 if(ri->tsc && ri->tsc >= P.f.first_tsc) { in process_record_tsc() 9612 tsc = (((tsc_t)ri->rec.u.tsc.tsc_hi) << 32) in __fill_in_record_info() [all …]
|
A D | analyze.h | 69 } tsc; member 89 tsc_t tsc; member
|
/xen/tools/libxc/ |
A D | xc_sr_common_x86.c | 6 struct xc_sr_rec_x86_tsc_info tsc = {}; in write_x86_tsc_info() local 9 .length = sizeof(tsc), in write_x86_tsc_info() 10 .data = &tsc, in write_x86_tsc_info() 13 if ( xc_domain_get_tsc_info(xch, ctx->domid, &tsc.mode, in write_x86_tsc_info() 14 &tsc.nsec, &tsc.khz, &tsc.incarnation) < 0 ) in write_x86_tsc_info() 26 struct xc_sr_rec_x86_tsc_info *tsc = rec->data; in handle_x86_tsc_info() local 28 if ( rec->length != sizeof(*tsc) ) in handle_x86_tsc_info() 31 rec->length, sizeof(*tsc)); in handle_x86_tsc_info() 35 if ( xc_domain_set_tsc_info(xch, ctx->domid, tsc->mode, in handle_x86_tsc_info() 36 tsc->nsec, tsc->khz, tsc->incarnation) ) in handle_x86_tsc_info()
|
A D | xc_psr.c | 163 uint64_t *tsc) in xc_psr_cmt_get_data() argument 198 if ( tsc != NULL ) in xc_psr_cmt_get_data() 224 *tsc = tsc_entry->val; in xc_psr_cmt_get_data()
|
/xen/xen/include/asm-x86/guest/ |
A D | hyperv.h | 37 static inline uint64_t hv_scale_tsc(uint64_t tsc, uint64_t scale, in hv_scale_tsc() argument 49 : "+a" (tsc), "=d" (result) in hv_scale_tsc()
|
/xen/xen/arch/x86/ |
A D | time.c | 707 uint64_t scale, ret, tsc; in read_hyperv_timer() local 726 tsc = rdtsc_ordered(); in read_hyperv_timer() 1212 u64 tsc, delta; in get_s_time_fixed() local 1215 tsc = at_tsc; in get_s_time_fixed() 1811 u64 tsc; in init_percpu_time() local 1869 tsc = rdtsc_ordered(); in init_percpu_time() 1900 uint64_t tsc; in tsc_check_writability() local 1910 tsc = rdtsc(); in tsc_check_writability() 1932 write_tsc(tsc); in tsc_check_writability() 2349 uint64_t tsc; in tsc_get_info() local [all …]
|
A D | platform_hypercall.c | 127 u64 tsc = 0; in resource_access() local 140 entry->val = get_s_time_fixed(tsc) in resource_access() 161 tsc = rdtsc(); in resource_access()
|
/xen/xen/include/public/arch-x86/hvm/ |
A D | save.h | 149 uint64_t tsc; member 263 uint64_t tsc; member 295 ucpu->nat.tsc = ucpu->cmp.tsc; in _hvm_hw_fix_cpu()
|
/xen/tools/firmware/hvmloader/ |
A D | util.h | 121 uint64_t tsc; in rdtsc() local 122 asm volatile ( "rdtsc" : "=A" (tsc) ); in rdtsc() 123 return tsc; in rdtsc()
|
/xen/xen/include/asm-x86/ |
A D | time.h | 57 u64 gtsc_to_gtime(struct domain *d, u64 tsc);
|
/xen/xen/arch/x86/hvm/viridian/ |
A D | time.c | 80 uint64_t tsc, scale; in trc_val() local 82 tsc = hvm_get_guest_tsc(pt_global_vcpu_target(d)); in trc_val() 85 return hv_scale_tsc(tsc, scale, offset); in trc_val()
|
/xen/xen/arch/x86/hvm/ |
A D | hvm.c | 407 return tsc; in hvm_scale_tsc() 411 : [tsc] "+a" (tsc), "=&d" (dummy) in hvm_scale_tsc() 415 return tsc; in hvm_scale_tsc() 420 uint64_t tsc; in hvm_set_guest_tsc_fixed() local 426 tsc = gtime_to_gtsc(v->domain, tsc); in hvm_set_guest_tsc_fixed() 430 tsc = at_tsc ?: rdtsc(); in hvm_set_guest_tsc_fixed() 432 tsc = hvm_scale_tsc(v->domain, tsc); in hvm_set_guest_tsc_fixed() 435 delta_tsc = guest_tsc - tsc; in hvm_set_guest_tsc_fixed() 464 uint64_t tsc; in hvm_get_guest_tsc_fixed() local 469 tsc = gtime_to_gtsc(v->domain, tsc); in hvm_get_guest_tsc_fixed() [all …]
|
/xen/xen/common/ |
A D | trace.c | 596 u64 tsc = (u64)get_cycles(); in __insert_record() local 597 rec->u.cycles.cycles_lo = (uint32_t)tsc; in __insert_record() 598 rec->u.cycles.cycles_hi = (uint32_t)(tsc >> 32); in __insert_record()
|
/xen/docs/man/ |
A D | xentrace_format.1.pod | 22 %(cpu)d, %(tsc)d, %(event)d, %(1)d, %(2)d, %(3)d, %(4)d, %(5)d
|
A D | xl.cfg.5.pod.in | 2026 svm_vmcbclean syscall sysenter tbm tm tm2 topoext tsc tsc-deadline tsc_adjust
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | mce.h | 210 uint64_t tsc; /* cpu time stamp counter */ member
|
/xen/xen/arch/x86/pv/ |
A D | domain.c | 157 cr4 &= ~((p->basic.tsc ? 0 : X86_CR4_TSD) | in pv_fixup_guest_cr4()
|
/xen/tools/misc/ |
A D | xen-hvmctx.c | 197 (unsigned long long) c.tsc, in dump_cpu()
|
/xen/xen/include/asm-x86/hvm/ |
A D | hvm.h | 255 u64 hvm_scale_tsc(const struct domain *d, u64 tsc);
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 2510 uint64_t *tsc);
|
/xen/docs/misc/ |
A D | xen-command-line.pandoc | 295 > `= pit | hpet | acpi | tsc` 302 monotonic TSC across sockets you may want to adjust the "tsc" command line 2188 ### tsc (x86)
|