Changeset 69 for pjproject/trunk/pjlib/src/pj/pool_caching.c
- Timestamp:
- Nov 21, 2005 4:58:03 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/pool_caching.c
r66 r69 175 175 /* Reset pool. */ 176 176 PJ_LOG(4, (pool->obj_name, "recycle(): cap=%d, used=%d(%d%%)", 177 pool->capacity, pool->used_size, pool->used_size*100/pool->capacity)); 177 pool->capacity, pj_pool_get_used_size(pool), 178 pj_pool_get_used_size(pool)*100/pool->capacity)); 178 179 pj_pool_reset(pool); 179 180 … … 208 209 while (pool != (void*)&cp->used_list) { 209 210 PJ_LOG(3,("cachpool", " %12s: %8d of %8d (%d%%) used", pool->obj_name, 210 p ool->used_size, pool->capacity,211 p ool->used_size*100/pool->capacity));212 total_used += p ool->used_size;211 pj_pool_get_used_size(pool), pool->capacity, 212 pj_pool_get_used_size(pool)*100/pool->capacity)); 213 total_used += pj_pool_get_used_size(pool); 213 214 total_capacity += pool->capacity; 214 215 pool = pool->next;
Note: See TracChangeset
for help on using the changeset viewer.