Skip to content

Commit

Permalink
[opltestiso]: add padding to reported values
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps authored Aug 8, 2022
1 parent 34f6d46 commit 35fa130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labs/opltestiso/ee/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ IRX_DEFINE(freeram);
void print_speed(clock_t clk_start, clock_t clk_end, u32 fd_size, u32 buf_size)
{
unsigned int msec = (int)((clk_end - clk_start) / (CLOCKS_PER_SEC / 1000));
PRINTF("\t\t- Read %dKiB in %dms, blocksize=%d, speed=%dKB/s\n", fd_size / 1024, msec, buf_size, fd_size / msec);
PRINTF("\t\t- Read %04dKiB in %04dms, blocksize=%06d, speed=%04dKB/s\n", fd_size / 1024, msec, buf_size, fd_size / msec);
}

//--------------------------------------------------------------
Expand Down

0 comments on commit 35fa130

Please sign in to comment.