Lines Matching refs:time_diff
831 kvm_update_event_stats(struct kvm_event_stats *kvm_stats, u64 time_diff) in kvm_update_event_stats() argument
833 kvm_stats->time += time_diff; in kvm_update_event_stats()
834 update_stats(&kvm_stats->stats, time_diff); in kvm_update_event_stats()
850 u64 time_diff) in update_kvm_event() argument
854 kvm->total_time += time_diff; in update_kvm_event()
857 kvm_update_event_stats(&event->total, time_diff); in update_kvm_event()
864 kvm_update_event_stats(&event->vcpu[vcpu_id], time_diff); in update_kvm_event()
922 u64 time_begin, time_diff; in handle_end_event() local
961 time_diff = sample->time - time_begin; in handle_end_event()
963 if (kvm->duration && time_diff > kvm->duration) { in handle_end_event()
970 decode, time_diff / NSEC_PER_USEC); in handle_end_event()
974 return update_kvm_event(kvm, event, vcpu, time_diff); in handle_end_event()