Home
last modified time | relevance | path

Searched refs:time_diff (Results 1 – 2 of 2) sorted by relevance

/tools/power/cpupower/utils/idle_monitor/
Dmperf_monitor.c157 unsigned long long aperf_diff, mperf_diff, time_diff, tsc_diff; in mperf_get_count_freq() local
171 time_diff = timespec_diff_us(time_start, time_end); in mperf_get_count_freq()
172 max_frequency = tsc_diff / time_diff; in mperf_get_count_freq()
/tools/perf/
Dbuiltin-kvm.c232 kvm_update_event_stats(struct kvm_event_stats *kvm_stats, u64 time_diff) in kvm_update_event_stats() argument
234 kvm_stats->time += time_diff; in kvm_update_event_stats()
235 update_stats(&kvm_stats->stats, time_diff); in kvm_update_event_stats()
250 u64 time_diff) in update_kvm_event() argument
253 kvm_update_event_stats(&event->total, time_diff); in update_kvm_event()
260 kvm_update_event_stats(&event->vcpu[vcpu_id], time_diff); in update_kvm_event()
318 u64 time_begin, time_diff; in handle_end_event() local
357 time_diff = sample->time - time_begin; in handle_end_event()
359 if (kvm->duration && time_diff > kvm->duration) { in handle_end_event()
366 decode, time_diff/1000); in handle_end_event()
[all …]