mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
TMP: adds ivory-pill boot-timing printfs
This commit is contained in:
parent
8eb8a142a6
commit
9ef5e096a7
@ -762,8 +762,17 @@ u3_king_commence()
|
|||||||
|
|
||||||
// boot the ivory pill
|
// boot the ivory pill
|
||||||
//
|
//
|
||||||
|
{
|
||||||
|
struct timeval b4, f2, d0;
|
||||||
|
gettimeofday(&b4, 0);
|
||||||
|
|
||||||
_king_boot_ivory();
|
_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)
|
// disable core dumps (due to lmdb size)
|
||||||
//
|
//
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user