Permalink
Browse files

State our units.

  • Loading branch information...
1 parent 3ea019c commit aa393f3d2765be3285e9a3276b1080e3cfc42a15 Peter Hosey committed Oct 15, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 timetrial.m
View
@@ -22,9 +22,9 @@ int main(void) {
if (outString) ++numResults;
}
end = [NSDate date];
- NSLog(@"Time taken: %f", [end timeIntervalSinceDate:start]);
+ NSLog(@"Time taken: %f seconds", [end timeIntervalSinceDate:start]);
NSLog(@"Number of dates and strings computed: %lu each", (unsigned long)numResults);
- NSLog(@"Time taken per date: %f", [end timeIntervalSinceDate:start] / numReps);
+ NSLog(@"Time taken per date: %f seconds", [end timeIntervalSinceDate:start] / numReps);
[pool drain];
pool = [[NSAutoreleasePool alloc] init];
@@ -57,9 +57,9 @@ int main(void) {
if (outString) ++numResults;
}
end = [NSDate date];
- NSLog(@"Time taken: %f", [end timeIntervalSinceDate:start]);
+ NSLog(@"Time taken: %f seconds", [end timeIntervalSinceDate:start]);
NSLog(@"Number of dates and strings computed: %lu each", (unsigned long)numResults);
- NSLog(@"Time taken per date: %f", [end timeIntervalSinceDate:start] / numReps);
+ NSLog(@"Time taken per date: %f seconds", [end timeIntervalSinceDate:start] / numReps);
sleep(1);

0 comments on commit aa393f3

Please sign in to comment.