|
[Objective-C] Performance examination procedure |
|
 |
// 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-2021 Centro Studi Informatica di Danilo Priore. All rights reserved. P.I.10149810581. |
|
|
|