diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-08-17 19:37:29 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-08-17 19:37:29 +0000 |
commit | e75b65715b2fc9a3363bd4ac598fe02888b7ed21 (patch) | |
tree | 4143a433981356e6a784ecf0a0c0bfc3806348ea /polyp/pactl.c | |
parent | 81822a751929fbc153282de3af447b9430d5c474 (diff) |
remove global memblock statistic variables in favor of memblock_stat objects
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@137 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/pactl.c')
-rw-r--r-- | polyp/pactl.c | 4 |
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(); } |