TMP: adds ivory-pill boot-timing printfs

This commit is contained in:
Joe Bryan 2020-09-01 14:45:21 -07:00
parent 8eb8a142a6
commit 9ef5e096a7

View File

@ -762,8 +762,17 @@ u3_king_commence()
// boot the ivory pill
//
{
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)
//
{