line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
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 . |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package Devel::Mallinfo; |
19
|
10
|
|
|
10
|
|
13852
|
use strict; |
|
10
|
|
|
|
|
22
|
|
|
10
|
|
|
|
|
396
|
|
20
|
10
|
|
|
10
|
|
53
|
use Exporter; |
|
10
|
|
|
|
|
20
|
|
|
10
|
|
|
|
|
658
|
|
21
|
10
|
|
|
10
|
|
56
|
use vars qw($VERSION @ISA @EXPORT_OK %EXPORT_TAGS); |
|
10
|
|
|
|
|
23
|
|
|
10
|
|
|
|
|
931
|
|
22
|
|
|
|
|
|
|
|
23
|
10
|
|
|
10
|
|
48
|
use Exporter; |
|
10
|
|
|
|
|
24
|
|
|
10
|
|
|
|
|
305
|
|
24
|
10
|
|
|
10
|
|
52
|
use DynaLoader; |
|
10
|
|
|
|
|
18
|
|
|
10
|
|
|
|
|
2476
|
|
25
|
|
|
|
|
|
|
@ISA = ('Exporter', 'DynaLoader'); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
$VERSION = 13; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
@EXPORT_OK = ('mallinfo'); |
30
|
|
|
|
|
|
|
%EXPORT_TAGS = (all => \@EXPORT_OK); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Devel::Mallinfo->bootstrap($VERSION); |
33
|
|
|
|
|
|
|
if (defined &malloc_info) { push @EXPORT_OK, 'malloc_info'; } |
34
|
|
|
|
|
|
|
if (defined &malloc_info_string) { push @EXPORT_OK, 'malloc_info_string'; } |
35
|
|
|
|
|
|
|
if (defined &malloc_stats) { push @EXPORT_OK, 'malloc_stats'; } |
36
|
|
|
|
|
|
|
if (defined &malloc_trim) { push @EXPORT_OK, 'malloc_trim'; } |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
__END__ |