---
title: hv_tsc_clock()
framework: Hypervisor
role: symbol
role_heading: Function
platforms: [macOS 11.0+]
path: hypervisor/hv_tsc_clock()
---

# hv_tsc_clock()

Returns the value of an abstract clock.

## Declaration

```swift
func hv_tsc_clock() -> UInt64
```

## Return Value

Return Value A 64-bit unsigned integer that represents the current clock value.

## Discussion

Discussion The abstract clock ticks at the same rate as the host TSC, offset by an implementation-dependent constant. The clock value increases monotonically.

## See Also

### Time-stamp counter functions

- [hv_vcpu_set_tsc_relative(_:_:)](hypervisor/hv_vcpu_set_tsc_relative(_:_:).md)
