1203 FreeBlockDictionary<Chunk_t>::verify_par_locked(); |
1203 FreeBlockDictionary<Chunk_t>::verify_par_locked(); |
1204 gclog_or_tty->print("Statistics for BinaryTreeDictionary:\n" |
1204 gclog_or_tty->print("Statistics for BinaryTreeDictionary:\n" |
1205 "------------------------------------\n"); |
1205 "------------------------------------\n"); |
1206 size_t total_size = total_chunk_size(debug_only(NULL)); |
1206 size_t total_size = total_chunk_size(debug_only(NULL)); |
1207 size_t free_blocks = num_free_blocks(); |
1207 size_t free_blocks = num_free_blocks(); |
1208 gclog_or_tty->print("Total Free Space: %d\n", total_size); |
1208 gclog_or_tty->print("Total Free Space: " SIZE_FORMAT "\n", total_size); |
1209 gclog_or_tty->print("Max Chunk Size: %d\n", max_chunk_size()); |
1209 gclog_or_tty->print("Max Chunk Size: " SIZE_FORMAT "\n", max_chunk_size()); |
1210 gclog_or_tty->print("Number of Blocks: %d\n", free_blocks); |
1210 gclog_or_tty->print("Number of Blocks: " SIZE_FORMAT "\n", free_blocks); |
1211 if (free_blocks > 0) { |
1211 if (free_blocks > 0) { |
1212 gclog_or_tty->print("Av. Block Size: %d\n", total_size/free_blocks); |
1212 gclog_or_tty->print("Av. Block Size: " SIZE_FORMAT "\n", total_size/free_blocks); |
1213 } |
1213 } |
1214 gclog_or_tty->print("Tree Height: %d\n", tree_height()); |
1214 gclog_or_tty->print("Tree Height: " SIZE_FORMAT "\n", tree_height()); |
1215 } |
1215 } |
1216 |
1216 |
1217 // Print census information - counts, births, deaths, etc. |
1217 // Print census information - counts, births, deaths, etc. |
1218 // for each list in the tree. Also print some summary |
1218 // for each list in the tree. Also print some summary |
1219 // information. |
1219 // information. |