MaCh3  2.5.0
Reference Guide
Namespaces | Functions
Monitor.cpp File Reference
#include "Manager/Monitor.h"
#include <unistd.h>
Include dependency graph for Monitor.cpp:

Go to the source code of this file.

Namespaces

 M3
 Main namespace for MaCh3 software.
 
 M3::Utils
 Utility helpers used across MaCh3.
 

Functions

void M3::Utils::MaCh3Welcome ()
 KS: Prints welcome message with MaCh3 logo. More...
 
std::string M3::Utils::GetMaCh3Version ()
 KS: Get version of MaCh3. More...
 
void M3::Utils::GetOSInfo ()
 KS: Find out more about operational system. More...
 
void M3::Utils::GetCPUInfo ()
 KS: Check what CPU you are using. More...
 
void M3::Utils::NThreadsSanity ()
 KS: Check if user is not using huge number of threads and throw error. More...
 
void M3::Utils::GetGPUInfo ()
 KS: Check what GPU you are using. More...
 
void M3::Utils::GetDiskUsage ()
 KS: Find out about Disk usage. More...
 
std::string M3::Utils::TerminalToString (std::string cmd)
 KS: Convoluted code to grab output from terminal to string. More...
 
void M3::Utils::EstimateDataTransferRate (TChain *chain, const Long64_t entry)
 KS: Check what CPU you are using. More...
 
void M3::Utils::PrintProgressBar (const Long64_t Done, const Long64_t All)
 KS: Simply print progress bar. More...
 
int M3::Utils::getValue (const std::string &Type)
 CW: Get info like RAM. More...
 
int M3::Utils::parseLine (const std::string &line)
 CW: Get memory, which is probably silly. More...
 
void M3::Utils::PrintConfig (const YAML::Node &node)
 KS: Print Yaml config using logger. More...
 
void M3::Utils::Print (const TTree *tree)
 
void M3::Utils::MaCh3Usage (int argc, char **argv)
 KS: Almost all MaCh3 executables have the same usage, prepare simple printer. More...
 
int M3::GetNThreads ()
 number of threads which we need for example for TRandom3 More...
 
void M3::AddPath (std::string &FilePath)
 Prepends the MACH3 environment path to FilePath if it is not already present. More...