摘要: 今天引用在stackoverflow上看到的一个网友给出的解决方案:使用NSDate构建一个高精度计时器 输出如下:Total time was: 0.002027 millisecondsTotal time was: 0.000002 secondsTotal time was: 0.000000 minutes 调用程序:Timer *timer = [[Timer alloc] init];[timer startTimer];// Do some work[timer stopTimer];NSLog(@"Total time was: %lf milliseconds&q 阅读全文
posted @ 2012-02-15 17:52 Penny●zheng 阅读(1449) 评论(0) 推荐(0) 编辑