---
title: "hv_vm_sync_tsc(_:)"
framework: Hypervisor
role: symbol
role_heading: Function
platforms: [macOS 10.10+]
path: "hypervisor/hv_vm_sync_tsc(_:)"
---

# hv_vm_sync_tsc(_:)

Synchronizes guest timestamp counters (TSC) across all vCPUs.

## Declaration

```swift
func hv_vm_sync_tsc(_ tsc: UInt64) -> hv_return_t
```

## Parameters

- `tsc`: The value of the guest TSC.

## Return Value

Return Value HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.
