ATLAS Offline Software
Classes | Static Public Member Functions | Private Member Functions | List of all members
LWHistControls Class Reference

#include <LWHistControls.h>

Collaboration diagram for LWHistControls:

Classes

class  Imp
 

Static Public Member Functions

static bool cleanupOnGetROOT ()
 
static void setCleanupOnGetROOT (bool)
 
static bool hasROOTBackend ()
 
static void setROOTBackend (bool)
 
static long long getTotalPoolMemAllocated ()
 
static long long getTotalPoolMemUsed ()
 
static long long getMemUnusedButAllocatedInPools ()
 
static double poolWasteFraction ()
 
static void releaseAllHeldMemory ()
 

Private Member Functions

 LWHistControls ()
 
 ~LWHistControls ()
 

Detailed Description

Definition at line 24 of file LWHistControls.h.

Constructor & Destructor Documentation

◆ LWHistControls()

LWHistControls::LWHistControls ( )
inlineprivate

Definition at line 52 of file LWHistControls.h.

52 {}

◆ ~LWHistControls()

LWHistControls::~LWHistControls ( )
inlineprivate

Definition at line 53 of file LWHistControls.h.

53 {}

Member Function Documentation

◆ cleanupOnGetROOT()

bool LWHistControls::cleanupOnGetROOT ( )
static

Definition at line 35 of file LWHistControls.cxx.

36 {
38 }

◆ getMemUnusedButAllocatedInPools()

long long LWHistControls::getMemUnusedButAllocatedInPools ( )
static

Definition at line 71 of file LWHistControls.cxx.

72 {
74 }

◆ getTotalPoolMemAllocated()

long long LWHistControls::getTotalPoolMemAllocated ( )
static

Definition at line 59 of file LWHistControls.cxx.

60 {
62 }

◆ getTotalPoolMemUsed()

long long LWHistControls::getTotalPoolMemUsed ( )
static

Definition at line 65 of file LWHistControls.cxx.

66 {
68 }

◆ hasROOTBackend()

bool LWHistControls::hasROOTBackend ( )
static

Definition at line 47 of file LWHistControls.cxx.

48 {
49  return Imp::s_rootBackend;
50 }

◆ poolWasteFraction()

double LWHistControls::poolWasteFraction ( )
static

Definition at line 77 of file LWHistControls.cxx.

78 {
79  long long l(getTotalPoolMemAllocated());
80  return l ? 1.0-getTotalPoolMemUsed()*1.0/l : 0;
81 }

◆ releaseAllHeldMemory()

void LWHistControls::releaseAllHeldMemory ( )
static

Definition at line 41 of file LWHistControls.cxx.

42 {
44 }

◆ setCleanupOnGetROOT()

void LWHistControls::setCleanupOnGetROOT ( bool  b)
static

Definition at line 29 of file LWHistControls.cxx.

30 {
32 }

◆ setROOTBackend()

void LWHistControls::setROOTBackend ( bool  b)
static

Definition at line 53 of file LWHistControls.cxx.

54 {
56 }

The documentation for this class was generated from the following files:
LWPools::getTotalPoolMemUsed
static long long getTotalPoolMemUsed()
Definition: LWPools.cxx:84
LWPools::getTotalPoolMemAllocated
static long long getTotalPoolMemAllocated()
Definition: LWPools.cxx:78
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
LWHistControls::Imp::s_cleanupOnGetROOT
static std::atomic< bool > s_cleanupOnGetROOT
Definition: LWHistControls.cxx:22
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
LWHistControls::getTotalPoolMemUsed
static long long getTotalPoolMemUsed()
Definition: LWHistControls.cxx:65
LWHistControls::getTotalPoolMemAllocated
static long long getTotalPoolMemAllocated()
Definition: LWHistControls.cxx:59
LWPools::cleanup
static void cleanup()
Definition: LWPools.cxx:71
LWHistControls::Imp::s_rootBackend
static std::atomic< bool > s_rootBackend
Definition: LWHistControls.cxx:23