* Added some temporary debug code to measure the boot time.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28899 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-01-14 13:57:42 +00:00
parent 0d585fc128
commit 33d17f74e0

@ -791,6 +791,9 @@ launch_speedup_control(const char *subsystem, uint32 function,
if (sMainSession == NULL || strcmp(sMainSession->Name(), name))
return B_BAD_VALUE;
if (!strcmp(name, "system boot"))
dprintf("STOP BOOT %Ld\n", system_time());
sMainSession->Lock();
stop_session(sMainSession);
sMainSession = NULL;
@ -868,6 +871,7 @@ init()
sMainSession = start_session(-1, -1, -1, "system boot");
sMainSession->Unlock();
dprintf("START BOOT %Ld\n", system_time());
return B_OK;
err3: