pub unsafe extern "C" fn hv_vcpu_get_exec_time(
vcpu: hv_vcpu_t,
time: *mut u64,
) -> hv_return_tExpand description
Returns, by reference, the cumulative execution time of a vCPU, in nanoseconds.
§Parameters
vcpu: The instance of the vCPU.time: The execution time on output, in nanoseconds.
§Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in
hv_return_t.