Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: fix cache_test and arch_lib_test date style error #53

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions testing/arch_libc/arch_libc_test_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ int arch_libc_strcpy_speed(void)
}
}

printf("strcpy total(run 25 times) cpu cycles %" PRIu32 "\n", cycles);
printf("strcpy average cpu cycles %" PRIu32 "\n", cycles / 25);
printf("strcpy total(run 25 times) cpu cycles %"PRIu64"\n", cycles);
printf("strcpy average cpu cycles %"PRIu64"\n", cycles / 25);

return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion testing/cachetest/cachetest_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static void cachetest_parse_commandline(int argc, FAR char **argv,
}

syslog(LOG_INFO, CACHETEST_PREFIX "waddr:%p, uncacheble addr start:%p,"
"size:%u\n", info->waddr,
"size:%zu\n", info->waddr,
(FAR char *)((uintptr_t)info->waddr | info->offset), info->size);
}

Expand Down
Loading