mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
TMP: adds ivory-pill boot-timing printfs
This commit is contained in:
parent
8eb8a142a6
commit
9ef5e096a7
@ -762,7 +762,16 @@ u3_king_commence()
|
||||
|
||||
// boot the ivory pill
|
||||
//
|
||||
_king_boot_ivory();
|
||||
{
|
||||
struct timeval b4, f2, d0;
|
||||
gettimeofday(&b4, 0);
|
||||
|
||||
_king_boot_ivory();
|
||||
|
||||
gettimeofday(&f2, 0);
|
||||
timersub(&f2, &b4, &d0);
|
||||
fprintf(stderr, "lite: boot %lu ms\r\n", (d0.tv_sec * 1000) + (d0.tv_usec / 1000));
|
||||
}
|
||||
|
||||
// disable core dumps (due to lmdb size)
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user