Skip to content

Instantly share code, notes, and snippets.

@adow
Created January 25, 2014 14:41
Show Gist options
  • Save adow/8617377 to your computer and use it in GitHub Desktop.
Save adow/8617377 to your computer and use it in GitHub Desktop.
计算运行时间
double startTime=CFAbsoluteTimeGetCurrent();
NSLog(@"duration:%f",CFAbsoluteTimeGetCurrent()-startTime);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment