转载自: http://blog.csdn.net/gghu1986/article/details/8662293
- CFAbsoluteTime start = CFAbsoluteTimeGetCurrent();
- // do something
- CFAbsoluteTime end = CFAbsoluteTimeGetCurrent();
- NSLog(@"time cost: %0.3f", end - start);
转载自: http://blog.csdn.net/gghu1986/article/details/8662293