Home
last modified time | relevance | path

Searched refs:tsc (Results 1 – 4 of 4) sorted by relevance

/tools/perf/arch/x86/
DMakefile16 LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/tsc.o
17 LIB_H += arch/$(ARCH)/util/tsc.h
/tools/power/x86/turbostat/
Dturbostat.c123 unsigned long long tsc; member
367 outp += sprintf(outp, "TSC: %016llX\n", t->tsc); in dump_counters()
468 outp += sprintf(outp, "%8.2f", 100.0 * t->mperf/t->tsc); in format_counters()
476 1.0 * t->tsc / units * t->aperf / t->mperf / interval_float); in format_counters()
479 outp += sprintf(outp, "%8.0f", 1.0 * t->tsc/units/interval_float); in format_counters()
502 outp += sprintf(outp, "%8.2f", 100.0 * t->c1/t->tsc); in format_counters()
512 outp += sprintf(outp, "%8.2f", 100.0 * c->c3/t->tsc); in format_counters()
514 outp += sprintf(outp, "%8.2f", 100.0 * c->c6/t->tsc); in format_counters()
516 outp += sprintf(outp, "%8.2f", 100.0 * c->c7/t->tsc); in format_counters()
529 outp += sprintf(outp, "%8.2f", 100.0 * p->pc2/t->tsc); in format_counters()
[all …]
/tools/power/cpupower/utils/idle_monitor/
Dmperf_monitor.c80 static int mperf_get_tsc(unsigned long long *tsc) in mperf_get_tsc() argument
83 ret = read_msr(0, MSR_TSC, tsc); in mperf_get_tsc()
85 dprint("Reading TSC MSR failed, returning %llu\n", *tsc); in mperf_get_tsc()
/tools/perf/
DMakefile.perf300 LIB_H += util/tsc.h
381 LIB_OBJS += $(OUTPUT)util/tsc.o
418 LIB_OBJS += $(OUTPUT)tests/perf-time-to-tsc.o