[Objective-C] Performance examination procedure
      back

// performance examination procedure        
#ifdef DEBUG
        double then, now;
        now = CFAbsoluteTimeGetCurrent();
#endif

//
// TODO: your code here
//

#ifdef DEBUG
        then = CFAbsoluteTimeGetCurrent();
        NSLog(@"**** time %f sec", then-now);
#endif






Copyright © 1996-2020 Centro Studi Informatica di Danilo Priore. All rights reserved. P.I.10149810581.