1) Moved tprintf and related functions to their own file in common/libc/printf/tprintf.c.

This file is included by both libc and hostcompat.

2) Changed printf -> tprintf in all testbin programs
This commit is contained in:
Scott Haseley
2016-01-15 13:33:11 -05:00
parent 98ff530afb
commit 0ab862abfa
49 changed files with 501 additions and 478 deletions

View File

@@ -131,11 +131,11 @@ static
void
printsettings(void)
{
printf("Page size: %u\n", PAGE_SIZE);
printf("Allocating %u pages and touching %u pages on each cycle.\n",
tprintf("Page size: %u\n", PAGE_SIZE);
tprintf("Allocating %u pages and touching %u pages on each cycle.\n",
allocs, touchpages);
printf("Page selection bias: %u\n", bias);
printf("\n");
tprintf("Page selection bias: %u\n", bias);
tprintf("\n");
}
static