CMS 3D CMS Logo

edm::MallocOpts Struct Reference

#include <FWCore/Utilities/interface/MallocOpts.h>

List of all members.

Public Types

typedef int opt_type

Public Member Functions

 MallocOpts (opt_type max, opt_type trim, opt_type pad, opt_type mmap_thr)
 MallocOpts ()
bool operator!= (const MallocOpts &opts) const
bool operator== (const MallocOpts &opts) const

Public Attributes

opt_type mmap_max_
opt_type mmap_thr_
opt_type top_pad_
opt_type trim_thr_


Detailed Description

Definition at line 34 of file MallocOpts.h.


Member Typedef Documentation

typedef int edm::MallocOpts::opt_type

Definition at line 36 of file MallocOpts.h.


Constructor & Destructor Documentation

edm::MallocOpts::MallocOpts (  )  [inline]

Definition at line 38 of file MallocOpts.h.

00038                 :
00039       mmap_max_(),trim_thr_(),top_pad_(),mmap_thr_()
00040     {}
    MallocOpts(opt_type max,opt_type trim,opt_type pad,opt_type mmap_thr):

edm::MallocOpts::MallocOpts ( opt_type  max,
opt_type  trim,
opt_type  pad,
opt_type  mmap_thr 
) [inline]

Definition at line 41 of file MallocOpts.h.

00041                                                                          :
00042       mmap_max_(max),trim_thr_(trim),top_pad_(pad),mmap_thr_(mmap_thr)
00043     {}
    


Member Function Documentation

bool edm::MallocOpts::operator!= ( const MallocOpts opts  )  const [inline]

Definition at line 58 of file MallocOpts.h.

References operator==().

00059     { return !operator==(opts); }

bool edm::MallocOpts::operator== ( const MallocOpts opts  )  const [inline]

Definition at line 50 of file MallocOpts.h.

References mmap_max_, mmap_thr_, top_pad_, and trim_thr_.

Referenced by operator!=().

00051     {
00052       return
00053         mmap_max_ == opts.mmap_max_ && 
00054         trim_thr_ == opts.trim_thr_ && 
00055         top_pad_ == opts.top_pad_ &&
00056         mmap_thr_ == opts.mmap_thr_;
00057     }


Member Data Documentation

opt_type edm::MallocOpts::mmap_max_

Definition at line 45 of file MallocOpts.h.

Referenced by edm::MallocOptionSetter::adjustMallocParams(), edm::operator<<(), operator==(), edm::MallocOptionSetter::retrieveFromEnv(), and edm::MallocOptionSetter::set_mmap_max().

opt_type edm::MallocOpts::mmap_thr_

Definition at line 48 of file MallocOpts.h.

Referenced by edm::MallocOptionSetter::adjustMallocParams(), edm::operator<<(), operator==(), edm::MallocOptionSetter::retrieveFromEnv(), and edm::MallocOptionSetter::set_mmap_thr().

opt_type edm::MallocOpts::top_pad_

Definition at line 47 of file MallocOpts.h.

Referenced by edm::MallocOptionSetter::adjustMallocParams(), edm::operator<<(), operator==(), edm::MallocOptionSetter::retrieveFromEnv(), and edm::MallocOptionSetter::set_top_pad().

opt_type edm::MallocOpts::trim_thr_

Definition at line 46 of file MallocOpts.h.

Referenced by edm::MallocOptionSetter::adjustMallocParams(), edm::operator<<(), operator==(), edm::MallocOptionSetter::retrieveFromEnv(), and edm::MallocOptionSetter::set_trim_thr().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:41:47 2009 for CMSSW by  doxygen 1.5.4