![]() |
MaCh3
2.4.2
Reference Guide
|
System and monitoring utilities for printing system information and status updates. More...
#include <iostream>#include <fstream>#include <string>#include <vector>#include <cstdlib>#include "Manager/MaCh3Logger.h"#include "Manager/MaCh3Exception.h"#include "Manager/YamlHelper.h"#include "TTree.h"#include "TBranch.h"#include "TMacro.h"#include "TChain.h"#include "TStopwatch.h"Go to the source code of this file.
Namespaces | |
| MaCh3Utils | |
| M3 | |
| Main namespace for MaCh3 software. | |
Functions | |
| void | MaCh3Utils::MaCh3Welcome () |
| KS: Prints welcome message with MaCh3 logo. More... | |
| void | MaCh3Utils::GetOSInfo () |
| KS: Find out more about operational system. More... | |
| void | MaCh3Utils::GetCPUInfo () |
| KS: Check what CPU you are using. More... | |
| void | MaCh3Utils::GetGPUInfo () |
| KS: Check what GPU you are using. More... | |
| void | MaCh3Utils::NThreadsSanity () |
| KS: Check if user is not using huge number of threads and throw error. More... | |
| std::string | MaCh3Utils::TerminalToString (std::string cmd) |
| KS: Convoluted code to grab output from terminal to string. More... | |
| void | MaCh3Utils::EstimateDataTransferRate (TChain *chain, const Long64_t entry) |
| KS: Check what CPU you are using. More... | |
| void | MaCh3Utils::GetDiskUsage () |
| KS: Find out about Disk usage. More... | |
| void | MaCh3Utils::PrintProgressBar (const Long64_t Done, const Long64_t All) |
| KS: Simply print progress bar. More... | |
| std::string | MaCh3Utils::GetMaCh3Version () |
| KS: Get version of MaCh3. More... | |
| int | MaCh3Utils::getValue (const std::string &Type) |
| CW: Get info like RAM. More... | |
| int | MaCh3Utils::parseLine (const std::string &line) |
| CW: Get memory, which is probably silly. More... | |
| void | MaCh3Utils::PrintConfig (const YAML::Node &node) |
| KS: Print Yaml config using logger. More... | |
| void | MaCh3Utils::Print (const TTree *tree) |
| void | MaCh3Utils::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... | |
| int | M3::GetThreadIndex () |
| thread index inside parallel loop More... | |
System and monitoring utilities for printing system information and status updates.
Definition in file Monitor.h.