<!--
{
  "availability" : [
    "DriverKit: -",
    "iOS: -",
    "iPadOS: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "DriverKit",
  "identifier" : "/documentation/DriverKit/mach_timebase_info_data_t",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "DriverKit"
    ],
    "preciseIdentifier" : "c:@T@mach_timebase_info_data_t"
  },
  "title" : "mach_timebase_info_data_t"
}
-->

# mach_timebase_info_data_t

Raw Mach Time API In general prefer to use the <time.h> API clock_gettime_nsec_np(3), which deals in the same clocks (and more) in ns units. Conversion of ns to (resp. from) tick units as returned by the mach time APIs is performed by division (resp. multiplication) with the fraction returned by mach_timebase_info().

```
typedef struct mach_timebase_info mach_timebase_info_data_t;
```

## Topics

### Getting the Properties

[`denom`](/documentation/DriverKit/mach_timebase_info-c.struct/denom)

[`numer`](/documentation/DriverKit/mach_timebase_info-c.struct/numer)



---

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)