CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes

edm::MallocOpts Struct Reference

#include <MallocOpts.h>

List of all members.

Public Types

typedef int opt_type

Public Member Functions

 MallocOpts ()
 MallocOpts (opt_type max, opt_type trim, opt_type pad, opt_type mmap_thr)
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

Definition at line 36 of file MallocOpts.h.


Constructor & Destructor Documentation

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

Definition at line 38 of file MallocOpts.h.

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.

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

Member Function Documentation

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

Definition at line 58 of file MallocOpts.h.

References operator==().

    { 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!=().

    {
      return
        mmap_max_ == opts.mmap_max_ && 
        trim_thr_ == opts.trim_thr_ && 
        top_pad_ == opts.top_pad_ &&
        mmap_thr_ == opts.mmap_thr_;
    }

Member Data Documentation