Steve Price > Linux-DVB-DVBT-Advert-0.04 > Linux::DVB::DVBT::Advert::Mem

Download:
Linux-DVB-DVBT-Advert-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.00   Source  

NAME ^

Linux::DVB::DVBT::Advert::Mem

SYNOPSIS ^

        use Linux::DVB::DVBT::Advert::Mem ;
  
        $Linux::DVB::DVBT::Advert::Mem::MEM_PROFILE = 1 ;
        
        # set baseline memory usage start value - all reports are relative to this
        set_used() ;
        
        # display memory used from baseline (and also relative to last call)
        print_used() ;
        
        # show size of variables
        var_size("message string", $var1, @var2) ;

DESCRIPTION ^

For debug/developer use.

This module contains memory profiling tools that I used while developing the advert removal modules

Mem

syntax highlighting: