CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
edm::MallocOpts Struct Reference

#include <MallocOpts.h>

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 32 of file MallocOpts.h.

Member Typedef Documentation

◆ opt_type

Definition at line 33 of file MallocOpts.h.

Constructor & Destructor Documentation

◆ MallocOpts() [1/2]

edm::MallocOpts::MallocOpts ( )
inline

Definition at line 35 of file MallocOpts.h.

35 : mmap_max_(), trim_thr_(), top_pad_(), mmap_thr_() {}

◆ MallocOpts() [2/2]

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

Definition at line 36 of file MallocOpts.h.

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

Member Function Documentation

◆ operator!=()

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

Definition at line 48 of file MallocOpts.h.

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

References operator==(), and geometryDiff::opts.

◆ operator==()

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

Definition at line 44 of file MallocOpts.h.

44  {
45  return mmap_max_ == opts.mmap_max_ && trim_thr_ == opts.trim_thr_ && top_pad_ == opts.top_pad_ &&
46  mmap_thr_ == opts.mmap_thr_;
47  }

References mmap_max_, mmap_thr_, geometryDiff::opts, top_pad_, and trim_thr_.

Referenced by operator!=().

Member Data Documentation

◆ mmap_max_

opt_type edm::MallocOpts::mmap_max_

◆ mmap_thr_

opt_type edm::MallocOpts::mmap_thr_

◆ top_pad_

opt_type edm::MallocOpts::top_pad_

◆ trim_thr_

opt_type edm::MallocOpts::trim_thr_
edm::MallocOpts::trim_thr_
opt_type trim_thr_
Definition: MallocOpts.h:40
edm::max
EventID const & max(EventID const &lh, EventID const &rh)
Definition: EventID.h:118
edm::MallocOpts::mmap_thr_
opt_type mmap_thr_
Definition: MallocOpts.h:42
edm::MallocOpts::mmap_max_
opt_type mmap_max_
Definition: MallocOpts.h:39
edm::MallocOpts::top_pad_
opt_type top_pad_
Definition: MallocOpts.h:41
trim
static void trim(std::string &s)
Definition: DTCCablingMapProducer.cc:67
edm::MallocOpts::operator==
bool operator==(const MallocOpts &opts) const
Definition: MallocOpts.h:44
geometryDiff.opts
opts
Definition: geometryDiff.py:11