Lines Matching refs:time_diff
263 kvm_update_event_stats(struct kvm_event_stats *kvm_stats, u64 time_diff) in kvm_update_event_stats() argument
265 kvm_stats->time += time_diff; in kvm_update_event_stats()
266 update_stats(&kvm_stats->stats, time_diff); in kvm_update_event_stats()
281 u64 time_diff) in update_kvm_event() argument
284 kvm_update_event_stats(&event->total, time_diff); in update_kvm_event()
291 kvm_update_event_stats(&event->vcpu[vcpu_id], time_diff); in update_kvm_event()
349 u64 time_begin, time_diff; in handle_end_event() local
388 time_diff = sample->time - time_begin; in handle_end_event()
390 if (kvm->duration && time_diff > kvm->duration) { in handle_end_event()
397 decode, time_diff / NSEC_PER_USEC); in handle_end_event()
401 return update_kvm_event(event, vcpu, time_diff); in handle_end_event()