Skip to content

Commit 15f38f2

Browse files
committed
hd-rum-translator: stats: another small changes
Use fixed width second precision - looks better when the stat lines are below each other (if the order of magnitude matches, the same alignment). Use B instead of bytes (shorter, also likely won't exceed 80 rows).
1 parent b6bead2 commit 15f38f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hd-rum-translator/hd-rum-translator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ int main(int argc, char **argv)
11801180
}
11811181
char buf[FORMAT_NUM_MAX_SZ];
11821182
log_msg(LOG_LEVEL_INFO,
1183-
"[%s] Received %s bytes in %g seconds = %sbps\n",
1183+
"[%s] Received %s B in %.5f seconds = %sbps\n",
11841184
tim_str,
11851185
format_number_with_delim(cur_data, buf, sizeof buf),
11861186
seconds, format_in_si_units(bps * 8));

0 commit comments

Comments
 (0)