---
title: mach_timebase_info_data_t
framework: kernel
role: symbol
role_heading: Structure
path: kernel/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().

## Declaration

```occ
typedef struct mach_timebase_info {
    ...
} mach_timebase_info_data_t;
```

## Topics

### Instance Properties

- [denom](kernel/mach_timebase_info_data_t/1462451-denom.md)
- [numer](kernel/mach_timebase_info_data_t/1462450-numer.md)

## See Also

### Time

- [mach_absolute_time](kernel/1462446-mach_absolute_time.md)
- [mach_approximate_time](kernel/1462443-mach_approximate_time.md)
- [mach_continuous_time](kernel/1646199-mach_continuous_time.md)
- [mach_continuous_approximate_time](kernel/1646198-mach_continuous_approximate_time.md)
- [mach_bridge_remote_time](kernel/2870302-mach_bridge_remote_time.md)
- [mach_bridge_compute_timestamp](kernel/2935668-mach_bridge_compute_timestamp.md)
- [mach_bridge_register_regwrite_timestamp_callback](kernel/2869537-mach_bridge_register_regwrite_ti.md)
- [mach_timebase_info_t](kernel/mach_timebase_info_t.md)
- [mach_zone_info_array_t](kernel/mach_zone_info_array_t.md)
- [mach_zone_name_array_t](kernel/mach_zone_name_array_t.md)
- [mach_timespec_t](kernel/mach_timespec_t.md)
- [mach_zone_info_t](kernel/mach_zone_info_t.md)
- [clock_attr_t](kernel/clock_attr_t.md)
- [clock_ctrl_port_t](kernel/clock_ctrl_port_t.md)
- [clock_ctrl_t](kernel/clock_ctrl_t.md)
- [clock_flavor_t](kernel/clock_flavor_t.md)
- [clock_id_t](kernel/clock_id_t.md)
- [clock_nsec_t](kernel/clock_nsec_t.md)
- [clock_reply_subsystem](kernel/clock_reply_subsystem.md)
- [clock_reply_t](kernel/clock_reply_t.md)
- [clock_res_t](kernel/clock_res_t.md)
- [clock_sec_t](kernel/clock_sec_t.md)
- [clock_serv_port_t](kernel/clock_serv_port_t.md)
- [clock_serv_t](kernel/clock_serv_t.md)
- [clock_t](kernel/clock_t.md)
- [clock_usec_t](kernel/clock_usec_t.md)
- [clockinfo](kernel/clockinfo.md)
