Track the current and maximum heap usage, and display the maximum during shutdown when DEBUG=malloc is enabled. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
93 |
|
93 |
|
94 |
|
94 |
|
95 |
|
95 |
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
96 |
|
102 |
|
97 |
|
103 |
|
98 |
|
104 |
|
|
|
||
351 |
|
357 |
|
352 |
|
358 |
|
353 |
|
359 |
|
354 |
|
|
|
|
360 |
|
|
355 |
|
361 |
|
|
362 |
|
|
|
363 |
|
|
|
364 |
|
|
356 |
|
365 |
|
357 |
|
366 |
|
358 |
|
367 |
|
|
|
||
474 |
|
483 |
|
475 |
|
484 |
|
476 |
|
485 |
|
477 |
|
|
|
|
486 |
|
|
478 |
|
487 |
|
|
488 |
|
|
479 |
|
489 |
|
480 |
|
490 |
|
481 |
|
491 |
|
|
|
||
629 |
|
639 |
|
630 |
|
640 |
|
631 |
|
641 |
|
|
642 |
|
|
632 |
|
643 |
|
633 |
|
644 |
|
634 |
|
645 |
|
635 |
|
|
|
|
646 |
|
|
|
647 |
|
|
|
648 |
|
|
|
649 |
|
|
|
650 |
|
|
|
651 |
|
|
|
652 |
|
|
636 |
|
653 |
|
637 |
|
654 |
|
638 |
|
655 |
|
|
|
||
656 |
|
673 |
|
657 |
|
674 |
|
658 |
|
675 |
|
|
676 |
|
|
659 |
|
677 |
|
660 |
|
678 |
|
661 |
|
679 |
|
|
|
||
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
|
25 |
|
|
|
26 |
|
|
25 |
|
27 |
|
26 |
|
28 |
|
27 |
|
29 |
|