mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-20 13:08:31 +00:00
Fix files under NxWidgets to use the corrected syslog interfaces
This commit is contained in:
parent
38af1a529d
commit
b6c84f5b45
42 changed files with 241 additions and 368 deletions
|
|
@ -107,8 +107,8 @@ static void updateMemoryUsage(unsigned int previous,
|
|||
|
||||
/* Show the change from the previous time */
|
||||
|
||||
message("%s: Before: %8d After: %8d Change: %8d\n",
|
||||
msg, previous, mmcurrent.uordblks, mmcurrent.uordblks - previous);
|
||||
printf("%s: Before: %8d After: %8d Change: %8d\n",
|
||||
msg, previous, mmcurrent.uordblks, mmcurrent.uordblks - previous);
|
||||
|
||||
/* Set up for the next test */
|
||||
|
||||
|
|
@ -321,7 +321,7 @@ int cbuttonarray_main(int argc, char *argv[])
|
|||
delete test;
|
||||
updateMemoryUsage(g_mmPrevious, "After deleting the test");
|
||||
updateMemoryUsage(g_mmInitial, "Final memory usage");
|
||||
message("Peak memory usage: %8d\n", g_mmPeak - g_mmInitial);
|
||||
printf("Peak memory usage: %8d\n", g_mmPeak - g_mmInitial);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue