add total sample cache size to statistics

add size to sample cache entry info


git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@175 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-09-01 22:46:27 +00:00
parent 5f52999c01
commit c73a298f88
6 changed files with 25 additions and 2 deletions

View file

@ -180,6 +180,7 @@ struct pa_stat_info {
uint32_t memblock_total_size; /**< Currentl total size of allocated memory blocks */
uint32_t memblock_allocated; /**< Allocated memory blocks during the whole lifetime of the daemon */
uint32_t memblock_allocated_size; /**< Total size of all memory blocks allocated during the whole lifetime of the daemon */
uint32_t scache_size; /**< Total size of all sample cache entries. \since 0.4 */
};
/** Get daemon memory block statistics */
@ -192,6 +193,7 @@ struct pa_sample_info {
pa_volume_t volume; /**< Default volume of this entry */
struct pa_sample_spec sample_spec; /**< Sample specification of the sampel */
pa_usec_t duration; /**< Duration of this entry */
uint32_t bytes; /**< Length of this sample in bytes. \since 0.4 */
};
/** Get information about a sample by its name */