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.
types.hpp File Reference

Declare the config types. More...

#include "timemory/config/macros.hpp"
#include "timemory/utility/types.hpp"
#include <string>
#include <utility>
#include <vector>
+ 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
 
namespace  tim::argparse
 
namespace  tim::config
 

Functions

void tim::timemory_init (int argc, char **argv, const std::string &_prefix="timemory-", const std::string &_suffix="-output")
 initialization (creates manager and configures output path) More...
 
void tim::timemory_init (const std::string &exe_name, const std::string &_prefix="timemory-", const std::string &_suffix="-output")
 initialization (creates manager and configures output path) More...
 
void tim::timemory_init (int *argc, char ***argv, const std::string &_prefix="timemory-", const std::string &_suffix="-output")
 initialization (creates manager, configures output path, mpi_init) More...
 
void tim::timemory_init (int *argc, char ***argv, argparse::argument_parser &parser, const std::string &_prefix="timemory-", const std::string &_suffix="-output")
 
void tim::timemory_init (std::vector< std::string > &, argparse::argument_parser &parser, const std::string &_prefix="timemory-", const std::string &_suffix="-output")
 
void tim::timemory_finalize ()
 finalization of the specified types More...
 
void tim::timemory_argparse (int *argc, char ***argv, argparse::argument_parser *parser=nullptr, settings *_settings=nullptr)
 
void tim::timemory_argparse (std::vector< std::string > &, argparse::argument_parser *parser=nullptr, settings *_settings=nullptr)
 
template<typename... Args>
void tim::init (Args &&... args)
 
void tim::finalize ()
 
template<typename... Types, typename... Args, enable_if_t<(sizeof...(Types) > 0 &&sizeof...(Args) >=2), int > >
void tim::timemory_init (Args &&... _args)
 
template<typename Func >
void tim::config::read_command_line (Func &&_func)
 this only works on Linux where there is a /proc/<PID>/cmdline file More...
 

Detailed Description

Declare the config types.

Definition in file types.hpp.