Author: axeld Date: 2010-02-24 16:08:52 +0100 (Wed, 24 Feb 2010) New Revision: 35603 Changeset: http://dev.haiku-os.org/changeset/35603/haiku Modified: haiku/trunk/src/system/kernel/slab/ObjectDepot.cpp Log: * Also print the maximum full count, and the magazine capacity when being dumped. Modified: haiku/trunk/src/system/kernel/slab/ObjectDepot.cpp =================================================================== --- haiku/trunk/src/system/kernel/slab/ObjectDepot.cpp 2010-02-24 15:08:06 UTC (rev 35602) +++ haiku/trunk/src/system/kernel/slab/ObjectDepot.cpp 2010-02-24 15:08:52 UTC (rev 35603) @@ -356,8 +356,10 @@ void dump_object_depot(object_depot* depot) { - kprintf(" full: %p, count %lu\n", depot->full, depot->full_count); - kprintf(" empty: %p, count %lu\n", depot->empty, depot->empty_count); + kprintf(" full: %p, count %lu\n", depot->full, depot->full_count); + kprintf(" empty: %p, count %lu\n", depot->empty, depot->empty_count); + kprintf(" max full: %lu\n", depot->max_count); + kprintf(" capacity: %lu\n", depot->magazine_capacity); kprintf(" stores:\n"); int cpuCount = smp_get_num_cpus();