fix printf of sample count
This commit is contained in:
parent
1f2456042c
commit
f175bc9e19
2
src/vm.c
2
src/vm.c
@ -1579,7 +1579,7 @@ usz profiler_getResults(B* compListRes, B* mapListRes, bool keyPath) {
|
|||||||
|
|
||||||
void profiler_displayResults(void) {
|
void profiler_displayResults(void) {
|
||||||
ux count = (u64)(profiler_buf_c-profiler_buf_s);
|
ux count = (u64)(profiler_buf_c-profiler_buf_s);
|
||||||
printf("Got "N64u" samples\n", count);
|
printf("Got %zu samples\n", count);
|
||||||
if (profiler_mode==1) {
|
if (profiler_mode==1) {
|
||||||
B compList, mapList;
|
B compList, mapList;
|
||||||
usz compCount = profiler_getResults(&compList, &mapList, true);
|
usz compCount = profiler_getResults(&compList, &mapList, true);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user