摘要:
//模拟windows下GetTickCount ////#import<mach/mach_time.h>+ (int)mxGetTickCount;{ inttimeTick; mach_timebase_info_data_tinfo; uint64_tmachineTime; mach_timebase_info(&info); machineTime =mach_absolute_time(); timeTick = machineTime * info.numer/ info.denom/1000000LL; returntimeTick;}// NSDatet 阅读全文