u3: tweaks |mass output (and fixes inadvertent truncation)

This commit is contained in:
Joe Bryan 2019-09-27 10:41:14 -07:00
parent e51ba034d2
commit a0cab6c8ed
2 changed files with 4 additions and 2 deletions

View File

@ -358,12 +358,12 @@ u3v_mark(FILE* fil_u)
u3v_arvo* arv_u = &(u3H->arv_u);
c3_w tot_w = 0;
tot_w += u3a_maid(fil_u, " wish cache", u3a_mark_noun(arv_u->yot));
tot_w += u3a_maid(fil_u, " kernel", u3a_mark_noun(arv_u->roc));
tot_w += u3a_maid(fil_u, " date", u3a_mark_noun(arv_u->now));
tot_w += u3a_maid(fil_u, " formatted date", u3a_mark_noun(arv_u->wen));
tot_w += u3a_maid(fil_u, " instance string", u3a_mark_noun(arv_u->sen));
tot_w += u3a_maid(fil_u, " identity", u3a_mark_noun(arv_u->our));
tot_w += u3a_maid(fil_u, " fake", u3a_mark_noun(arv_u->fak));
tot_w += u3a_maid(fil_u, " kernel", u3a_mark_noun(arv_u->roc));
tot_w += u3a_maid(fil_u, " wish cache", u3a_mark_noun(arv_u->yot));
return u3a_maid(fil_u, "total arvo stuff", tot_w);
}

View File

@ -308,6 +308,8 @@ _worker_grab(u3_noun sac, u3_noun ovo, u3_noun vir)
u3a_print_memory(fil_u, "total marked", tot_w);
u3a_print_memory(fil_u, "sweep", u3a_sweep());
fflush(fil_u);
#ifdef U3_MEMORY_LOG
{
fclose(fil_u);