summaryrefslogtreecommitdiffstats
path: root/polyp/pactl.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/pactl.c')
-rw-r--r--polyp/pactl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/polyp/pactl.c b/polyp/pactl.c
index 0ff2aa90..f2556706 100644
--- a/polyp/pactl.c
+++ b/polyp/pactl.c
@@ -88,7 +88,9 @@ static void stat_callback(struct pa_context *c, const struct pa_stat_info *i, vo
return;
}
- fprintf(stderr, "Currently in use: %u blocks containing %u bytes total.\n", i->memblock_count, i->memblock_total);
+ fprintf(stderr, "Currently in use: %u blocks containing %u bytes total.\n"
+ "Allocated during whole lifetime: %u blocks containing %u bytes total.\n",
+ i->memblock_total, i->memblock_total_size, i->memblock_allocated, i->memblock_allocated_size);
drain();
}