---
title: mach_timebase_info
framework: driverkit
role: symbol
role_heading: Structure
path: driverkit/mach_timebase_info-c.struct
---

# mach_timebase_info

## Declaration

```occ
struct mach_timebase_info;
```

## Overview

Overview 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().

## Topics

### Instance Properties

- [denom](driverkit/mach_timebase_info-c.struct/denom.md)
- [numer](driverkit/mach_timebase_info-c.struct/numer.md)

## See Also

### Structures

- [IODMACommandSpecification](driverkit/iodmacommandspecification.md)
- [IOHistogramReportValues](driverkit/iohistogramreportvalues.md)
- [IOHistogramSegmentConfig](driverkit/iohistogramsegmentconfig.md)
- [IONormDistReportValues](driverkit/ionormdistreportvalues.md)
- [IORPCMessageErrorReturnContent](driverkit/iorpcmessageerrorreturncontent.md)
- [IOReportChannel](driverkit/ioreportchannel.md)
- [IOReportChannelList](driverkit/ioreportchannellist.md)
- [IOReportChannelType](driverkit/ioreportchanneltype.md)
- [IOReportElement](driverkit/ioreportelement.md)
- [IOReportElementValues](driverkit/ioreportelementvalues.md)
- [IOReportInterest](driverkit/ioreportinterest.md)
- [IOReportInterestList](driverkit/ioreportinterestlist.md)
- [IOSimpleArrayReportValues](driverkit/iosimplearrayreportvalues.md)
- [IOSimpleReportValues](driverkit/iosimplereportvalues.md)
- [IOStateReportValues](driverkit/iostatereportvalues.md)
