LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::MallocOpts Struct Reference

#include "MallocOpts.h"

Public Types

using opt_type = int
 

Public Member Functions

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

Public Attributes

opt_type mmap_max_ {}
 
opt_type trim_thr_ {}
 
opt_type top_pad_ {}
 
opt_type mmap_thr_ {}
 

Detailed Description

Definition at line 33 of file MallocOpts.h.

Member Typedef Documentation

Definition at line 34 of file MallocOpts.h.

Constructor & Destructor Documentation

art::MallocOpts::MallocOpts ( )
default
art::MallocOpts::MallocOpts ( opt_type  max,
opt_type  trim,
opt_type  pad,
opt_type  mmap_thr 
)
inline

Definition at line 37 of file MallocOpts.h.

38  : mmap_max_(max), trim_thr_(trim), top_pad_(pad), mmap_thr_(mmap_thr)
39  {}
opt_type mmap_max_
Definition: MallocOpts.h:41
opt_type top_pad_
Definition: MallocOpts.h:43
opt_type mmap_thr_
Definition: MallocOpts.h:44
opt_type trim_thr_
Definition: MallocOpts.h:42

Member Function Documentation

bool art::MallocOpts::operator!= ( const MallocOpts opts) const
inlinenoexcept

Definition at line 53 of file MallocOpts.h.

References art::operator<<(), and operator==().

54  {
55  return !operator==(opts);
56  }
bool operator==(const MallocOpts &opts) const noexcept
Definition: MallocOpts.h:47
bool art::MallocOpts::operator== ( const MallocOpts opts) const
inlinenoexcept

Definition at line 47 of file MallocOpts.h.

References mmap_max_, mmap_thr_, top_pad_, and trim_thr_.

Referenced by operator!=().

48  {
49  return mmap_max_ == opts.mmap_max_ && trim_thr_ == opts.trim_thr_ &&
50  top_pad_ == opts.top_pad_ && mmap_thr_ == opts.mmap_thr_;
51  }
opt_type mmap_max_
Definition: MallocOpts.h:41
opt_type top_pad_
Definition: MallocOpts.h:43
opt_type mmap_thr_
Definition: MallocOpts.h:44
opt_type trim_thr_
Definition: MallocOpts.h:42

Member Data Documentation


The documentation for this struct was generated from the following file: