Searched refs:MachInfo (Results 1 – 3 of 3) sorted by relevance
104 mach_timebase_info_data_t MachInfo; in compute_steady_factor() local105 err = mach_timebase_info(&MachInfo); in compute_steady_factor()109 return static_cast<double>(MachInfo.numer) / MachInfo.denom; in compute_steady_factor()165 mach_timebase_info_data_t MachInfo; in init_steady_clock() local166 err = mach_timebase_info(&MachInfo); in init_steady_clock()172 if (MachInfo.numer == MachInfo.denom) in init_steady_clock()184 mach_timebase_info_data_t MachInfo; in init_steady_clock_ec() local185 err = mach_timebase_info(&MachInfo); in init_steady_clock_ec()191 if (MachInfo.numer == MachInfo.denom) in init_steady_clock_ec()
72 mach_timebase_info_data_t MachInfo; in compute_steady_factor() local73 err = mach_timebase_info(&MachInfo); in compute_steady_factor()77 return static_cast<double>(MachInfo.numer) / MachInfo.denom; in compute_steady_factor()96 mach_timebase_info_data_t MachInfo; in init_steady_clock() local97 err = mach_timebase_info(&MachInfo); in init_steady_clock()103 if (MachInfo.numer == MachInfo.denom) in init_steady_clock()
147 mach_timebase_info_data_t MachInfo; in init_duration()148 mach_timebase_info(&MachInfo); in init_duration()149 return static_cast<double>(MachInfo.denom) / MachInfo.numer; in init_duration()