Home
last modified time | relevance | path

Searched refs:time_enabled (Results 1 - 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/perf_event_open/
H A Dperf_event_open02.c55 unsigned long long time_enabled; member
145 diff.time_enabled = buf2.time_enabled - buf.time_enabled; in count_hardware_counters()
148 tst_res(TINFO, "[%d] value:%lld time_enabled:%lld " in count_hardware_counters()
150 diff.time_enabled, diff.time_running); in count_hardware_counters()
153 * Normally time_enabled and time_running are the same value. in count_hardware_counters()
157 * will be different. In this case the time_enabled and time_ in count_hardware_counters()
159 * the count. So if buf.time_enabled and buf.time_running are in count_hardware_counters()
164 if (diff.time_enabled ! in count_hardware_counters()
[all...]
/third_party/libbpf/include/uapi/linux/
H A Dperf_event.h342 * { u64 time_enabled; } && PERF_FORMAT_TOTAL_TIME_ENABLED
349 * { u64 time_enabled; } && PERF_FORMAT_TOTAL_TIME_ENABLED
583 * enabled = pc->time_enabled;
609 __u64 time_enabled; /* time event active */ member
638 * delta since time_enabled (in ns) using rdtsc or similar.

Completed in 3 milliseconds