摘要: //模拟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 阅读全文
posted @ 2013-06-14 10:09 Kristen 阅读(4024) 评论(0) 推荐(0) 编辑