iOS 計算代碼塊執行時間

#import <mach/mach_time.h> // for mach_absolute_time double MachTimeToSecs(uint64_t time) { mach_timebase_info_data_t timebase; mach_timebase_info(&timebase); return (double)time * (doubl
相關文章
相關標籤/搜索