Skip to content

Commit

Permalink
Adjust the value width in stats output.
Browse files Browse the repository at this point in the history
Some of the values are accumulative and can reach high after running for long
periods.
  • Loading branch information
interwq committed May 3, 2024
1 parent 8d8379d commit e519082
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,12 @@ stats_arena_bins_print(emitter_t *emitter, bool mutex, unsigned i,

COL_HDR(row, size, NULL, right, 20, size)
COL_HDR(row, ind, NULL, right, 4, unsigned)
COL_HDR(row, allocated, NULL, right, 13, size)
COL_HDR(row, nmalloc, NULL, right, 13, uint64)
COL_HDR(row, allocated, NULL, right, 14, size)
COL_HDR(row, nmalloc, NULL, right, 14, uint64)
COL_HDR(row, nmalloc_ps, "(#/sec)", right, 8, uint64)
COL_HDR(row, ndalloc, NULL, right, 13, uint64)
COL_HDR(row, ndalloc, NULL, right, 14, uint64)
COL_HDR(row, ndalloc_ps, "(#/sec)", right, 8, uint64)
COL_HDR(row, nrequests, NULL, right, 13, uint64)
COL_HDR(row, nrequests, NULL, right, 15, uint64)
COL_HDR(row, nrequests_ps, "(#/sec)", right, 10, uint64)
COL_HDR_DECLARE(prof_live_requested);
COL_HDR_DECLARE(prof_live_count);
Expand Down

0 comments on commit e519082

Please sign in to comment.