|
timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
|
#include "timemory/environment/macros.hpp"#include "timemory/utility/types.hpp"#include <iosfwd>#include <iostream>#include <set>#include <string>
Include dependency graph for types.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | tim |
Functions | |
| template<typename Tp > | |
| Tp | tim::get_env (const std::string &env_id, Tp _default, bool _store) |
| template<> | |
| std::string | tim::get_env (const std::string &env_id, std::string _default, bool _store) |
| template<> | |
| bool | tim::get_env (const std::string &env_id, bool _default, bool _store) |
| template<typename Tp > | |
| Tp | tim::get_env_choice (const std::string &env_id, Tp _default, std::set< Tp > _choices, bool _store) |
| template<typename Tp > | |
| Tp | tim::load_env (const std::string &env_id, Tp _default) |
| template<> | |
| std::string | tim::load_env (const std::string &env_id, std::string _default) |
| template<> | |
| bool | tim::load_env (const std::string &env_id, bool _default) |
| void | tim::print_env (std::ostream &os=std::cout) |
| template<typename FuncT > | |
| void | tim::print_env (std::ostream &os, FuncT &&_filter) |
| Print all environment queries and their values which satisfy the filter conditions. More... | |
| template<typename Tp > | |
| void | tim::set_env (const std::string &env_var, const Tp &_val, int override) |