[launchd-changes] [23807] branches/PR-5063531/launchd/src/launchctl.c

source_changes at macosforge.org source_changes at macosforge.org
Fri Feb 13 17:13:33 PST 2009


Revision: 23807
          http://trac.macosforge.org/projects/launchd/changeset/23807
Author:   dsorresso at apple.com
Date:     2009-02-13 17:13:33 -0800 (Fri, 13 Feb 2009)
Log Message:
-----------
Adjusted benchmarking.

Modified Paths:
--------------
    branches/PR-5063531/launchd/src/launchctl.c

Modified: branches/PR-5063531/launchd/src/launchctl.c
===================================================================
--- branches/PR-5063531/launchd/src/launchctl.c	2009-02-13 23:55:29 UTC (rev 23806)
+++ branches/PR-5063531/launchd/src/launchctl.c	2009-02-14 01:13:33 UTC (rev 23807)
@@ -2030,6 +2030,7 @@
 	int load_launchd_items_cnt = 5;
 #endif
 
+	uint64_t t0 = mach_absolute_time();
 	struct stat sb;
 	if (is_safeboot()) {
 		load_launchd_items[2] = "system";
@@ -2047,7 +2048,6 @@
 		}
 	}
 
-	uint64_t t0 = mach_absolute_time();
 	assumes(load_and_unload_cmd(load_launchd_items_cnt, load_launchd_items) == 0);
 	uint64_t t1 = mach_absolute_time();
 	
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-changes/attachments/20090213/9575db65/attachment.html>


More information about the launchd-changes mailing list