hv_vcpu_get_exec_time(_:_:)
Returns, by reference, the cumulative execution time of a vCPU, in nanoseconds.
Declaration
func hv_vcpu_get_exec_time(_ vcpu: hv_vcpu_t, _ time: UnsafeMutablePointer<UInt64>) -> hv_return_tParameters
- 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.