priore

Performance examination procedure

Mar 18th, 2016
578
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // performance examination procedure        
  2. #ifdef DEBUG
  3.         double then, now;
  4.         now = CFAbsoluteTimeGetCurrent();
  5. #endif
  6.  
  7. //
  8. // TODO: your code here
  9. //
  10.  
  11. #ifdef DEBUG
  12.         then = CFAbsoluteTimeGetCurrent();
  13.         NSLog(@"**** time %f sec", then-now);
  14. #endif
RAW Paste Data