_start = CFAbsoluteTimeGetCurrent();
_end = CFAbsoluteTimeGetCurrent();
NSLog(@"time cost: %0.3f", _end - _start);
_start = CFAbsoluteTimeGetCurrent();
_end = CFAbsoluteTimeGetCurrent();
NSLog(@"time cost: %0.3f", _end - _start);
本文标题:OC获取毫秒值,时间差,计算执行耗费时间
本文链接:https://www.haomeiwen.com/subject/hcvuohtx.html
网友评论