|
Triumvirate C++ API 0.5.0.post1.dev301+g026f21751
Three-point clustering measurements in large-scale structure analyses.
|
#include "monitor.hpp"
Include dependency graph for monitor.cpp:Go to the source code of this file.
Namespaces | |
| namespace | trv |
| namespace | trv::sys |
Functions | |
| bool | trv::sys::has_extension (const std::string &fname, const std::string &fext) |
| Check if a file has a given extension. | |
| std::string | trv::sys::join_strings (const std::vector< std::string > &strings, const std::string &delimiter) |
| Join a vector of strings with a delimiter. | |
| std::vector< std::string > | trv::sys::split_string (const std::string &str, const std::string &delimiter) |
| Split a string into a vector of strings. | |
| void | trv::sys::update_maxmem (bool gpu=false) |
| Update the maximum memory usage estimate. | |
| void | trv::sys::update_maxcntgrid () |
| Update the maximum 3-d grid counts. | |
| std::string | trv::sys::show_current_datetime (bool utc=false) |
| Return the current datetime string. | |
| std::string | trv::sys::show_elapsed_time (double duration_in_seconds) |
| Return the elapsed-time string in 'HH:MM:SS' format. | |
| std::string | trv::sys::show_timestamp () |
| Return the timestamp string including the elapsed time. | |
| int | trv::sys::get_gpu_count (bool sys=false) |
| Get the number of GPUs available. | |
| std::vector< int > | trv::sys::get_gpu_ids () |
| Get the indices of GPUs available for use. | |
| bool | trv::sys::is_gpu_available () |
| Check if GPUs are available in the system. | |
| bool | trv::sys::is_gpu_enabled () |
| Check if GPU mode is enabled. | |
| bool | trv::sys::is_gpu_single () |
| Check if in single-GPU mode. | |
| void | trv::sys::exit_fatal (const std::string &msg) |
Terminate the program with exit status EXIT_FAILURE. | |
| bool | trv::sys::is_colourable () |
Check if the program stdout is colourable. | |
| std::vector< float > | trv::sys::set_nodes_by_str (std::string interval_str) |
| Set a node list possibly from a string. | |
| std::string | trv::sys::get_build_datetime () |
| Return the build datetime string in ISO 8601–like format. | |
| void | trv::sys::display_help () |
Display help message in stdout. | |
| void | trv::sys::display_prog_logo () |
Display program logo in stdout. | |
| void | trv::sys::display_prog_licence (bool brief=false) |
Display program licence in stdout. | |
| void | trv::sys::display_prog_info (bool runtime=false) |
Display program information in stdout. | |
| void | trv::sys::display_prog_logbars (int endpoint) |
Display program log bars in stdout. | |
| void | trv::sys::expand_envar_in_path (std::string &path_str) |
| Expand environment variables in a path string. | |
Variables | |
| auto | trv::sys::clockStart = std::chrono::steady_clock::now() |
| program starting time | |
Definition in file monitor.cpp.