| 1 | # Copyright 2007, 2008, 2009, 2010, 2011, 2014 Kevin Ryde | ||||||||||
| 2 | |||||||||||
| 3 | # This file is part of Devel-Mallinfo. | ||||||||||
| 4 | # | ||||||||||
| 5 | # Devel-Mallinfo is free software; you can redistribute it and/or modify it | ||||||||||
| 6 | # under the terms of the GNU General Public License as published by the Free | ||||||||||
| 7 | # Software Foundation; either version 3, or (at your option) any later | ||||||||||
| 8 | # version. | ||||||||||
| 9 | # | ||||||||||
| 10 | # Devel-Mallinfo is distributed in the hope that it will be useful, but | ||||||||||
| 11 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||||||||||
| 12 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||||||||||
| 13 | # for more details. | ||||||||||
| 14 | # | ||||||||||
| 15 | # You should have received a copy of the GNU General Public License along | ||||||||||
| 16 | # with Devel-Mallinfo. If not, see <http://www.gnu.org/licenses/>. | ||||||||||
| 17 | |||||||||||
| 18 | package Devel::Mallinfo; | ||||||||||
| 19 | 10 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 20 | 10 | ▶ | use Exporter; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 21 | 10 | ▶ | use vars qw($VERSION @ISA @EXPORT_OK %EXPORT_TAGS); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 22 | |||||||||||
| 23 | 10 | ▶ | use Exporter; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 24 | 10 | ▶ | use DynaLoader; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 25 | 10 | @ISA = ('Exporter', 'DynaLoader'); | |||||||||
| 26 | |||||||||||
| 27 | 10 | $VERSION = 14; | |||||||||
| 28 | |||||||||||
| 29 | 10 | @EXPORT_OK = ('mallinfo'); | |||||||||
| 30 | 10 | %EXPORT_TAGS = (all => \@EXPORT_OK); | |||||||||
| 31 | |||||||||||
| 32 | 10 | Devel::Mallinfo->bootstrap($VERSION); | |||||||||
| 33 | 10 | ▶ | if (defined &malloc_info) { push @EXPORT_OK, 'malloc_info'; } | ||||||||
|
Branch: 1 branch
| |||||||||||
| 34 | 10 | ▶ | if (defined &malloc_info_string) { push @EXPORT_OK, 'malloc_info_string'; } | ||||||||
|
Branch: 1 branch
| |||||||||||
| 35 | 10 | ▶ | if (defined &malloc_stats) { push @EXPORT_OK, 'malloc_stats'; } | ||||||||
|
Branch: 1 branch
| |||||||||||
| 36 | 10 | ▶ | if (defined &malloc_trim) { push @EXPORT_OK, 'malloc_trim'; } | ||||||||
|
Branch: 1 branch
| |||||||||||
| 37 | |||||||||||
| 38 | 10 | 1; | |||||||||
| 39 | __END__ | ||||||||||