<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Hypervisor",
  "identifier" : "/documentation/Hypervisor/CPU_BASED2_TSC_SCALING",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Hypervisor"
    ],
    "preciseIdentifier" : "c:@Ea@PIN_BASED_INTR@CPU_BASED2_TSC_SCALING"
  },
  "title" : "CPU_BASED2_TSC_SCALING"
}
-->

# CPU_BASED2_TSC_SCALING

The value that controls whether the execution of various read time stamp counters and read model-specific registers that read from the IA32 timestamp counter model specific register return a value modified by the TSC multiplier field.

```
var CPU_BASED2_TSC_SCALING: UInt32 { get }
```

## Discussion

Use the [`hv_vmx_read_capability(_:_:)`](/documentation/Hypervisor/hv_vmx_read_capability(_:_:)) API to determine the correct setting for this value at run time.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)