timemory
3.2.1
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.
|
Namespaces | |
alias | |
api | |
argparse | |
audit | |
base | |
cereal | |
component | |
concepts | |
config | |
crtp | |
cupti | |
data | |
data_storage | |
device | |
env | |
ert | |
filepath | |
func | |
invoke | |
kokkosp | |
lifetime | |
math | |
mpl | |
node | |
ompt | |
openmp | |
operation | |
plotting | |
policy | |
popen | |
quirk | |
runtime | |
sampling | |
scope | |
socket | |
stl | |
the namespace is provided to hide stl overload from global namespace but provide a method of using the namespace without a "using namespace tim;" | |
trace | |
trait | |
units | |
utility | |
variadic | |
Classes | |
struct | statistics |
A generic class for statistical accumulation. It uses the timemory math overloads to enable statistics for containers such as std::vector<double> , etc. More... | |
class | env_settings |
class | source_location |
Provides source location information and variadic joining of source location tags. More... | |
class | manager |
class | lightweight_tuple |
This is a variadic component wrapper which provides the least amount of runtime and compilation overhead. More... | |
struct | get_index_sequence |
struct | get_index_sequence< Tuple< Types... > > |
struct | storage_initializer |
This provides an object that can initialize the storage opaquely, e.g. More... | |
struct | remove_pointers |
struct | remove_pointers< Tuple< Tp... > > |
struct | basic_tree |
Basic hierarchical tree implementation. Expects population from tim::graph. More... | |
struct | settings |
struct | tsettings |
Implements a specific setting. More... | |
struct | vsettings |
Virtual base class for storing settings. More... | |
class | storage |
class | storage< Tp, type_list<> > |
class | tgraph_node |
A node in the graph, combining links to other nodes as well as the actual data. More... | |
class | graph |
Arbitrary Graph / Tree (i.e. binary-tree but not binary). It is unlikely that this class will interacted with directly. More... | |
class | graph_data |
tim::graph instance + current node + head note + sea-level. Sea-level is defined as the node depth after a fork from another graph instance and is only relevant for worker-threads) More... | |
class | graph_allocator |
struct | complete_types |
struct | available_types |
class | signal_settings |
class | singleton |
Thread-safe singleton management. More... | |
class | singleton< void, void, void > |
struct | identity |
struct | null_type |
this is a placeholder type for optional type-traits. It is used as the default type for the type-traits to signify there is no specialization. More... | |
struct | type_list |
lightweight tuple-alternative for meta-programming logic More... | |
struct | hasher |
class | auto_base_bundle< Tag, CompT, BundleT > |
Example: auto_base_bundle<Tag, component_bundle<Tag>, auto_bundle<Tag, Types...>> will use Tag + trait::is_available<Tag> or trait::runtime_available<Tag> to disable this bundle at compile-time or run-time, respectively. It will wrap auto-start/stop around component_bundle<Tag, Types...> and use auto_bundle<Tag, Types...> for function signatures. More... | |
class | auto_bundle< Tag, Types... > |
class | auto_hybrid< TupleT< TupleTypes... >, ListT< ListTypes... > > |
class | auto_list |
This is a variadic component wrapper where all components are optional at runtime. Accept unlimited number of parameters. The constructor starts the components, the destructor stops the components. The default behavior is to query the TIMEMORY_AUTO_LIST_INIT environment variable once (the first time the bundle is used) and use that list of components (if any) to initialize the components which are part of it's template parameters. This behavior can be modified by assigning a new lambda/functor to the reference which is returned from tim::auto_list<Types...>::get_initializer(). Assignment is not thread-safe since this is relatively unnecessary... if a different set of components are required on a particular thread, just create a different type with those particular components or pass the initialization functor to the constructor. More... | |
class | auto_tuple |
This is a variadic component wrapper where all components are allocated on the stack and cannot be disabled at runtime. This bundler has the lowest overhead. Accepts unlimited number of template parameters. The constructor starts the components, the destructor stops the components. More... | |
struct | stack_bundle |
struct | stack_bundle< type_list< Types... > > |
struct | api_bundle |
struct | api_bundle< ApiT, type_list< Types... > > |
class | bundle |
Static polymorphic base class for component bundlers. More... | |
class | bundle< Tag, BundleT, TupleT > |
Example: bundle<Tag, component_bundle<Foo>, mixed_wrapper_types<concat<Bar, Baz>>> will use Tag + trait::is_available<Tag> or trait::runtime_available<Tag> to disable this bundle at compile-time or run-time, respectively. It will covert component_bundle<Foo> to component_bundle<Foo, Bar, Baz> for purposes of function signatures and it will instantiate std::tuple<...> depending on the compile-time availability of Bar and Baz . mixed_wrapper_types is a dummy type with the appropriate aliases to perform these conversions. Here is a theoretical implementation of mixed_wrapper_types (which supports allocating components on the stack and the heap): More... | |
class | component_bundle< Tag, Types... > |
class | component_hybrid< TupleT< TupleTypes... >, ListT< ListTypes... > > |
class | component_list |
This is a variadic component wrapper where all components are optional at runtime. Accept unlimited number of parameters. The default behavior is to query the TIMEMORY_COMPONENT_LIST_INIT environment variable once (the first time the bundle is used) and use that list of components (if any) to initialize the components which are part of it's template parameters. This behavior can be modified by assigning a new lambda/functor to the reference which is returned from tim::component_list<Types...>::get_initializer(). Assignment is not thread-safe since this is relatively unnecessary... if a different set of components are required on a particular thread, just create a different type with those particular components or pass the initialization functor to the constructor. More... | |
class | component_tuple |
This is a variadic component wrapper where all components are allocated on the stack and cannot be disabled at runtime. This bundler has the lowest overhead. Accepts unlimited number of template parameters. This bundler is used by tim::auto_tuple whose constructor and destructor invoke the start() and stop() member functions respectively. More... | |
class | component_bundle |
This is a variadic component wrapper which combines the features of tim::component_tuple<T...> and tim::component_list<U..>. The "T" types (compile-time fixed, allocated on stack) should be specified as usual, the "U" types (runtime-time optional, allocated on the heap) should be specified as a pointer. Initialization of the optional types is similar to tim::auto_list<U...> but no environment variable is built-in since, ideally, this environment variable should be customized based on the Tag template parameter. More... | |
class | auto_base_bundle |
Static polymorphic base class for automatic start/stop bundlers. More... | |
class | auto_bundle |
This is a variadic component wrapper which combines the features of tim::auto_tuple<T...> and tim::auto_list<U..>. The "T" types (compile-time fixed, allocated on stack) should be specified as usual, the "U" types (runtime-time optional, allocated on the heap) should be specified as a pointer. Initialization of the optional types is similar to tim::auto_list<U...> but no environment variable is built-in since, ideally, this environment variable should be customized based on the Tag template parameter. More... | |
class | component_hybrid |
class | auto_hybrid |
Typedefs | |
using | parser_t = argparse::argument_parser |
using | parser_err_t = typename parser_t::result_type |
using | minimal_auto_tuple_t = auto_bundle< TIMEMORY_API, TIMEMORY_MINIMAL_TUPLE_TYPES > |
using | minimal_auto_list_t = auto_bundle< TIMEMORY_API, TIMEMORY_MINIMAL_LIST_TYPES > |
using | minimal_auto_timer_t = auto_bundle< TIMEMORY_API, TIMEMORY_MINIMAL_TUPLE_TYPES, TIMEMORY_MINIMAL_LIST_TYPES > |
using | full_auto_tuple_t = auto_bundle< TIMEMORY_API, TIMEMORY_FULL_TUPLE_TYPES > |
using | full_auto_list_t = auto_bundle< TIMEMORY_API, TIMEMORY_FULL_LIST_TYPES > |
using | full_auto_timer_t = auto_bundle< TIMEMORY_API, TIMEMORY_FULL_TUPLE_TYPES, TIMEMORY_FULL_LIST_TYPES > |
using | auto_timer_tuple_t = minimal_auto_tuple_t |
using | auto_timer_list_t = minimal_auto_list_t |
using | auto_timer = minimal_auto_timer_t |
using | auto_timer_t = auto_timer |
using | auto_user_bundle_t = auto_bundle< TIMEMORY_API, component::user_global_bundle > |
using | hash_value_t = size_t |
using | hash_map_t = std::unordered_map< hash_value_t, std::string > |
using | hash_alias_map_t = std::unordered_map< hash_value_t, hash_value_t > |
using | hash_map_ptr_t = std::shared_ptr< hash_map_t > |
using | hash_map_ptr_pair_t = std::pair< hash_map_ptr_t, hash_map_ptr_t > |
using | hash_alias_ptr_t = std::shared_ptr< hash_alias_map_t > |
using | hash_resolver_t = std::function< bool(hash_value_t, std::string &)> |
using | hash_resolver_vec_t = std::vector< hash_resolver_t > |
using | string_view_t = std::string |
template<typename... T> | |
using | stl_tuple_t = convert_t< mpl::available_t< concat< T... > >, std::tuple<> > |
template<typename... T> | |
using | type_list_t = convert_t< mpl::available_t< concat< T... > >, type_list<> > |
template<typename Tag , typename... T> | |
using | component_bundle_t = convert_t< mpl::available_t< type_list< T... > >, component_bundle< Tag > > |
template<typename... T> | |
using | component_tuple_t = convert_t< mpl::available_t< concat< T... > >, component_tuple<> > |
template<typename... T> | |
using | component_list_t = convert_t< mpl::available_t< concat< T... > >, component_list<> > |
template<typename... T> | |
using | auto_tuple_t = convert_t< mpl::available_t< concat< T... > >, auto_tuple<> > |
template<typename... T> | |
using | auto_list_t = convert_t< mpl::available_t< concat< T... > >, auto_list<> > |
template<typename Tag , typename... T> | |
using | auto_bundle_t = convert_t< mpl::available_t< type_list< T... > >, auto_bundle< Tag > > |
template<typename... T> | |
using | lightweight_tuple_t = convert_t< mpl::available_t< concat< T... > >, lightweight_tuple<> > |
template<typename T > | |
using | is_empty_t = typename concepts::is_empty< T >::type |
template<typename T > | |
using | is_variadic_t = typename concepts::is_variadic< T >::type |
template<typename T > | |
using | is_wrapper_t = typename concepts::is_wrapper< T >::type |
template<typename T > | |
using | is_stack_wrapper_t = typename concepts::is_stack_wrapper< T >::type |
template<typename T > | |
using | is_heap_wrapper_t = typename concepts::is_heap_wrapper< T >::type |
template<typename... Ts> | |
using | tuple_concat_t = typename impl::tuple_concat< Ts... >::type |
template<typename... Ts> | |
using | type_concat_t = typename impl::type_concat< Ts... >::type |
template<typename U > | |
using | remove_pointer_t = typename std::remove_pointer< U >::type |
template<typename U > | |
using | add_pointer_t = conditional_t<(std::is_pointer< U >::value), U, U * > |
template<typename Tp , typename Type > | |
using | index_of = impl::index_of< Tp, Type > |
template<typename Tp , typename Types > | |
using | is_one_of = typename impl::is_one_of< Tp, Types > |
check if type is in expansion More... | |
template<template< typename > class Predicate, typename Types > | |
using | contains_one_of = typename impl::contains_one_of< Predicate, Types > |
check if type is in expansion More... | |
template<template< typename > class Predicate, typename Types > | |
using | contains_one_of_t = typename contains_one_of< Predicate, Types >::type |
template<typename Tp > | |
using | get_index_sequence_t = typename get_index_sequence< decay_t< Tp > >::type |
template<typename T , typename U > | |
using | convert_t = typename impl::convert< T, U >::type |
template<template< typename... > class T, typename... U> | |
using | convert_each_t = typename impl::convert_each< T, U... >::type |
template<typename T > | |
using | unwrap_t = typename impl::unwrapper< T >::type |
template<template< typename > class CheckT, bool CheckV, template< typename > class TransformT, typename T , typename U > | |
using | apply_transform_t = typename impl::apply_transform< CheckT, CheckV, TransformT, T, U >::type |
template<typename Tuple , typename T > | |
using | push_back_t = typename mpl::push_back< Tuple, T >::type |
template<typename Tp > | |
using | remove_pointers_t = typename remove_pointers< Tp >::type |
template<typename Tp > | |
using | storage_singleton = singleton< Tp, std::unique_ptr< Tp, impl::storage_deleter< Tp > >, TIMEMORY_API > |
using | complete_types_t = typename complete_types< std::make_index_sequence< TIMEMORY_COMPONENTS_END > >::type |
using | available_types_t = typename available_types< std::make_index_sequence< TIMEMORY_COMPONENTS_END > >::type |
using | complete_tuple_t = convert_t< complete_types_t, std::tuple<> > |
using | complete_component_list_t = convert_t< complete_types_t, component_list<> > |
using | complete_component_tuple_t = convert_t< complete_types_t, component_tuple<> > |
using | complete_auto_list_t = convert_t< complete_types_t, auto_list<> > |
using | complete_auto_tuple_t = convert_t< complete_types_t, auto_tuple<> > |
using | available_tuple_t = convert_t< available_types_t, std::tuple<> > |
using | available_component_list_t = convert_t< available_types_t, component_list<> > |
using | available_component_tuple_t = convert_t< available_types_t, component_tuple<> > |
using | available_auto_list_t = convert_t< available_types_t, auto_list<> > |
using | available_auto_tuple_t = convert_t< available_types_t, auto_tuple<> > |
using | complete_list_t = complete_component_list_t |
using | available_list_t = available_component_list_t |
using | global_bundle_t = component_tuple< component::user_global_bundle > |
using | ompt_bundle_t = component_tuple< component::user_ompt_bundle > |
using | mpip_bundle_t = component_tuple< component::user_mpip_bundle > |
using | ncclp_bundle_t = component_tuple< component::user_ncclp_bundle > |
using | common_singleton = singleton< void, void, void > |
template<typename Tp , Tp Num> | |
using | make_integer_sequence = std::make_integer_sequence< Tp, Num > |
Alias template make_integer_sequence. More... | |
template<size_t... Idx> | |
using | index_sequence = std::integer_sequence< size_t, Idx... > |
Alias template index_sequence. More... | |
template<size_t Num> | |
using | make_index_sequence = std::make_integer_sequence< size_t, Num > |
Alias template make_index_sequence. More... | |
template<typename... Types> | |
using | index_sequence_for = std::make_index_sequence< sizeof...(Types)> |
Alias template index_sequence_for. More... | |
template<bool B, typename T = int> | |
using | enable_if_t = typename std::enable_if< B, T >::type |
Alias template for enable_if. More... | |
template<typename T > | |
using | decay_t = typename std::decay< T >::type |
Alias template for decay. More... | |
template<bool B, typename Lhs , typename Rhs > | |
using | conditional_t = typename std::conditional< B, Lhs, Rhs >::type |
template<typename T > | |
using | remove_cv_t = typename std::remove_cv< T >::type |
template<typename T > | |
using | remove_const_t = typename std::remove_const< T >::type |
template<int N> | |
using | priority_constant = std::integral_constant< int, N > |
template<typename T > | |
using | identity_t = typename identity< T >::type |
template<size_t Idx, typename Tp > | |
using | type_list_element_t = typename type_list_element< Idx, Tp >::type |
using | string_t = std::string |
using | mutex_t = std::recursive_mutex |
Recursive mutex is used for convenience since the performance penalty vs. a regular mutex is not really an issue since there are not many locks in general. More... | |
using | auto_lock_t = std::unique_lock< mutex_t > |
Unique lock type around mutex_t. More... | |
template<typename... T> | |
using | component_hybrid_t = typename component_hybrid< T... >::type |
using | string = tim::mpl::apply< std::string > |
template<typename... Types> | |
using | concat = typename impl::concat< Types... >::type |
Enumerations | |
enum class | sys_signal : int { Hangup = SIGHUP , Interrupt = SIGINT , Quit = SIGQUIT , Illegal = SIGILL , Trap = SIGTRAP , Abort = SIGABRT , Emulate = SIGEMT , FPE = SIGFPE , Kill = SIGKILL , Bus = SIGBUS , SegFault = SIGSEGV , System = SIGSYS , Pipe = SIGPIPE , Alarm = SIGALRM , Terminate = SIGTERM , Urgent = SIGURG , Stop = SIGTSTP , CPUtime = SIGXCPU , FileSize = SIGXFSZ , VirtualAlarm = SIGVTALRM , ProfileAlarm = SIGPROF , User1 = SIGUSR1 , User2 = SIGUSR2 } |
Functions | |
template<> | |
auto | invoke_preinit< kokkosp::memory_tracker > (long) |
template<typename... Types, typename... Args, enable_if_t<(sizeof...(Types) > 0 &&sizeof...(Args) >=2), int > > | |
void | timemory_init (Args &&... _args) |
TIMEMORY_CONFIG_LINKAGE (void) timemory_init(int argc | |
if (_settings) | |
while (exe_name.find('\\') !=std::string::npos) exe_name | |
while (exe_name.find('/') !=std::string::npos) exe_name | |
for (const auto &ext :_exe_suffixes) | |
for (auto &itr :exe_name) | |
while ((pos=exe_name.find("--")) !=std::string::npos) exe_name.erase(pos | |
if (exe_name.empty()) exe_name | |
if (_manager) | |
timemory_argparse (argc, argv) | |
timemory_argparse (argc, argv, &parser) | |
if (_cleanup_parser) parser | |
if (_cleanup_settings &&!_shared_settings) return | |
if (_cleanup_settings) _settings | |
parser | enable_help () |
parser | on_error ([=](parser_t &p, const parser_err_t &_err) { err_action(_err);if(dmp::rank()==0 &&_settings->get_verbose() > 0) p.print_help("-- <NON_TIMEMORY_ARGS>");}) |
for (const auto &itr :_settings->ordering()) | |
parser | add_argument () .names( |
description ("A generic option for any setting. Each argument MUST be passed in " "form: 'NAME=VALUE'. E.g. --timemory-args " "\"papi_events=PAPI_TOT_INS,PAPI_TOT_CYC\" text_output=off") .action([&](parser_t &p) | |
err_action (parser->parse_known_args(argc, argv, "--", settings::verbose())) | |
if (parser->exists("help")) help_action(*parser) | |
void | 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 | 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 | 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 | timemory_init (int *argc, char ***argv, argparse::argument_parser &parser, const std::string &_prefix="timemory-", const std::string &_suffix="-output") |
void | timemory_init (std::vector< std::string > &, argparse::argument_parser &parser, const std::string &_prefix="timemory-", const std::string &_suffix="-output") |
void | timemory_finalize () |
finalization of the specified types More... | |
void | timemory_argparse (int *argc, char ***argv, argparse::argument_parser *parser=nullptr, settings *_settings=nullptr) |
void | timemory_argparse (std::vector< std::string > &, argparse::argument_parser *parser=nullptr, settings *_settings=nullptr) |
template<typename... Args> | |
void | init (Args &&... args) |
void | finalize () |
template<typename Tp > | |
Tp | get_env (const std::string &env_id, Tp _default) |
template<typename Tp > | |
Tp | load_env (const std::string &env_id, Tp _default) |
template<typename Tp > | |
void | set_env (const std::string &env_var, const Tp &_val, int override) |
TIMEMORY_ENVIRONMENT_LINKAGE (env_settings::~env_settings()) | |
TIMEMORY_ENVIRONMENT_LINKAGE (env_settings::env_map_t) env_settings | |
template<> | |
TIMEMORY_ENVIRONMENT_LINKAGE (std::string) get_env(const std | |
template<> | |
TIMEMORY_ENVIRONMENT_LINKAGE (bool) get_env(const std | |
TIMEMORY_ENVIRONMENT_LINKAGE (void) print_env(std | |
TIMEMORY_ENVIRONMENT_LINKAGE (tim::env_settings *) env_settings | |
template<> | |
std::string | get_env (const std::string &env_id, std::string _default) |
template<> | |
bool | get_env (const std::string &env_id, bool _default) |
template<> | |
std::string | load_env (const std::string &env_id, std::string _default) |
template<> | |
bool | load_env (const std::string &env_id, bool _default) |
void | print_env (std::ostream &os=std::cout) |
template<typename Tp , typename FuncT > | |
void | generic_serialization (const std::string &fname, const Tp &obj, const std::string &_main_name="timemory", const std::string &_data_name="data", FuncT &&_func=[](typename policy::output_archive_t< decay_t< Tp >>::type &) {}) |
template<typename ArchiveT , typename ApiT = TIMEMORY_API, typename Tp , typename FuncT > | |
void | generic_serialization (const std::string &fname, const Tp &obj, const std::string &_main_name="timemory", const std::string &_data_name="data", FuncT &&_func=[](typename policy::output_archive_t< decay_t< Tp >>::type &) {}) |
template<typename ArchiveT , typename ApiT = TIMEMORY_API, typename Tp , typename FuncT > | |
void | generic_serialization (std::ostream &ofs, const Tp &obj, const std::string &_main_name="timemory", const std::string &_data_name="data", FuncT &&_func=[](typename policy::output_archive_t< decay_t< Tp >>::type &) {}) |
template<typename Tp , typename Tag , typename PtrT , typename PairT > | |
PairT & | get_shared_ptr_pair () |
template<typename Tp , typename Tag , typename PtrT , typename PairT > | |
PtrT | get_shared_ptr_pair_instance () |
template<typename Tp , typename Tag , typename PtrT , typename PairT > | |
PtrT | get_shared_ptr_pair_main_instance () |
template<typename Tp , typename Tag , typename PtrT > | |
PtrT | get_shared_ptr_lone_instance () |
TIMEMORY_HASH_LINKAGE (hash_map_ptr_t &) get_hash_ids() | |
TIMEMORY_HASH_LINKAGE (hash_alias_ptr_t &) get_hash_aliases() | |
TIMEMORY_HASH_LINKAGE (std::shared_ptr< hash_resolver_vec_t > &) get_hash_resolvers() | |
TIMEMORY_HASH_LINKAGE (hash_value_t) get_hash_id(const hash_alias_ptr_t &_hash_alias | |
if (_alias_itr !=_hash_alias->end()) return _alias_itr -> second | |
TIMEMORY_HASH_LINKAGE (void) add_hash_id(const hash_map_ptr_t &_hash_map | |
hash_map_ptr_t & | get_hash_ids () |
hash_alias_ptr_t & | get_hash_aliases () |
std::shared_ptr< hash_resolver_vec_t > & | get_hash_resolvers () |
template<typename Tp , std::enable_if_t< concepts::is_string_type< std::decay_t< Tp >>::value, int > = 0> | |
hash_value_t | get_hash_id (Tp &&_prefix) |
hash_value_t | get_combined_hash_id (hash_value_t _lhs, hash_value_t _rhs) |
template<typename Tp , std::enable_if_t<!std::is_integral< std::decay_t< Tp >>::value, int > = 0> | |
hash_value_t | get_combined_hash_id (hash_value_t _lhs, Tp &&_rhs) |
hash_value_t | get_hash_id (const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id) |
hash_value_t | add_hash_id (hash_map_ptr_t &_hash_map, const string_view_t &_prefix) |
add an string to the given hash-map (if it doesn't already exist) and return the hash More... | |
hash_value_t | add_hash_id (const string_view_t &_prefix) |
add an string to the default hash-map (if it doesn't already exist) and return the hash More... | |
void | add_hash_id (const hash_map_ptr_t &_hash_map, const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id, hash_value_t _alias_hash_id) |
void | add_hash_id (hash_value_t _hash_id, hash_value_t _alias_hash_id) |
string_view_t | get_hash_identifier_fast (hash_value_t _hash) |
this does not check other threads or aliases. Only call this function when you know that the hash exists on the thread and is not an alias More... | |
std::string | get_hash_identifier (const hash_map_ptr_t &_hash_map, const hash_alias_ptr_t &_hash_alias, hash_value_t _hash_id) |
std::string | get_hash_identifier (hash_value_t _hash_id) |
template<typename FuncT > | |
size_t | add_hash_resolver (FuncT &&_func) |
std::string | demangle_hash_identifier (std::string, char bdelim='[', char edelim=']') |
template<typename... Args> | |
auto | get_demangled_hash_identifier (Args &&... _args) |
manager * | timemory_manager_master_instance () |
void | timemory_library_constructor () |
template<typename T > | |
auto | invoke_preinit (int) -> decltype(std::declval< T >().preinit(), void()) |
template<typename T > | |
auto | invoke_preinit (long) |
template<typename Bundle , typename EnumT , typename... Args> | |
void | configure (std::initializer_list< EnumT > components, Args &&... args) |
template<typename Bundle , typename... Args> | |
void | configure (const std::initializer_list< std::string > &components, Args &&... args) |
template<typename Bundle , typename... ExtraArgs, template< typename, typename... > class Container, typename... Args> | |
void | configure (const Container< std::string, ExtraArgs... > &components, Args &&... args) |
this is for initializing with a container of string More... | |
template<typename Bundle , typename... Args> | |
void | configure (const std::string &components, Args &&... args) |
this is for initializing with a string More... | |
template<typename Bundle , template< typename, typename... > class Container, typename Intp , typename... ExtraArgs, typename... Args, typename std::enable_if< std::is_integral< Intp >::value||std::is_same< Intp, TIMEMORY_NATIVE_COMPONENT >::value, int >::type > | |
void | configure (const Container< Intp, ExtraArgs... > &components, Args &&... args) |
template<typename Bundle , template< typename, typename... > class Container, typename... ExtraArgs, typename... Args> | |
void | configure (const Container< const char *, ExtraArgs... > &components, Args &&... args) |
template<typename Bundle , typename... Args> | |
void | configure (const int ncomponents, const int *components, Args &&... args) |
template<typename StringT , typename... ExtraArgs, template< typename, typename... > class Container> | |
std::vector< TIMEMORY_COMPONENT > | enumerate_components (const Container< StringT, ExtraArgs... > &component_names) |
description: use this function to generate an array of enumerations from a list of string that can be subsequently used to initialize an auto_list or a component_list More... | |
std::set< TIMEMORY_COMPONENT > | enumerate_components (const std::initializer_list< std::string > &component_names) |
template<typename StringT = std::string> | |
std::vector< TIMEMORY_COMPONENT > | enumerate_components (const std::string &names, const StringT &env_id="") |
template<typename... ExtraArgs> | |
std::set< TIMEMORY_COMPONENT > | enumerate_components (const std::set< std::string, ExtraArgs... > &component_names) |
template<template< typename... > class CompList, typename... CompTypes, typename EnumT = int> | |
void | initialize (CompList< CompTypes... > &obj, std::initializer_list< EnumT > components) |
template<template< typename... > class CompList, typename... CompTypes> | |
void | initialize (CompList< CompTypes... > &obj, std::initializer_list< std::string > components) |
template<template< typename... > class CompList, typename... CompTypes, typename... ExtraArgs, template< typename, typename... > class Container> | |
void | initialize (CompList< CompTypes... > &obj, const Container< std::string, ExtraArgs... > &components) |
template<template< typename... > class CompList, typename... CompTypes> | |
void | initialize (CompList< CompTypes... > &obj, const std::string &components) |
this is for initializing with a string More... | |
template<template< typename... > class CompList, typename... CompTypes, template< typename, typename... > class Container, typename Intp , typename... ExtraArgs, typename std::enable_if< std::is_integral< Intp >::value||std::is_same< Intp, TIMEMORY_NATIVE_COMPONENT >::value, int >::type > | |
void | initialize (CompList< CompTypes... > &obj, const Container< Intp, ExtraArgs... > &components) |
description: use this function to initialize a auto_list or component_list from a list of enumerations More... | |
template<template< typename... > class CompList, typename... CompTypes, template< typename, typename... > class Container, typename... ExtraArgs> | |
void | initialize (CompList< CompTypes... > &obj, const Container< const char *, ExtraArgs... > &components) |
template<template< typename... > class CompList, typename... CompTypes> | |
void | initialize (CompList< CompTypes... > &obj, const int ncomponents, const int *components) |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle, typename EnumT = int> | |
void | insert (Bundle< Idx, Type > &obj, std::initializer_list< EnumT > components) |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle> | |
void | insert (Bundle< Idx, Type > &obj, const std::initializer_list< std::string > &components) |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle, typename... ExtraArgs, template< typename, typename... > class Container> | |
void | insert (Bundle< Idx, Type > &obj, const Container< std::string, ExtraArgs... > &components) |
this is for initializing with a container of string More... | |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle> | |
void | insert (Bundle< Idx, Type > &obj, const std::string &components) |
this is for initializing with a string More... | |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle, template< typename, typename... > class Container, typename Intp , typename... ExtraArgs, typename std::enable_if< std::is_integral< Intp >::value||std::is_same< Intp, TIMEMORY_NATIVE_COMPONENT >::value, int >::type > | |
void | insert (Bundle< Idx, Type > &obj, const Container< Intp, ExtraArgs... > &components) |
description: use this function to insert tools into a bundle More... | |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle, template< typename, typename... > class Container, typename... ExtraArgs> | |
void | insert (Bundle< Idx, Type > &obj, const Container< const char *, ExtraArgs... > &components) |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle> | |
void | insert (Bundle< Idx, Type > &obj, const int ncomponents, const int *components) |
template<typename T , typename... Args> | |
void | initialize (T *obj, Args &&... args) |
template<typename T , typename... Args> | |
void | insert (T *obj, Args &&... args) |
template<typename Bundle_t , template< typename, typename... > class Container, typename Intp , typename... ExtraArgs, typename... Args, typename std::enable_if< std::is_integral< Intp >::value||std::is_same< Intp, TIMEMORY_NATIVE_COMPONENT >::value, int >::type = 0> | |
void | configure (const Container< Intp, ExtraArgs... > &components, Args &&...) |
description: use this function to insert tools into a bundle More... | |
TIMEMORY_SETTINGS_INLINE std::string | get_local_datetime (const char *dt_format, std::time_t *dt_curr) |
TIMEMORY_SETTINGS_MEMBER_DEF (string_t, config_file, TIMEMORY_SETTINGS_KEY("CONFIG_FILE")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("SUPPRESS_PARSING")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("SUPPRESS_CONFIG")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("ENABLED")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("AUTO_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("COUT_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("FILE_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("TEXT_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("JSON_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("TREE_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("DART_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("TIME_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("PLOT_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("DIFF_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("FLAMEGRAPH_OUTPUT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("CTEST_NOTES")) TIMEMORY_SETTINGS_MEMBER_DEF(int | |
TIMEMORY_SETTINGS_KEY ("VERBOSE")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("DEBUG")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("BANNER")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("COLLAPSE_THREADS")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("COLLAPSE_PROCESSES")) TIMEMORY_SETTINGS_MEMBER_DEF(uint16_t | |
TIMEMORY_SETTINGS_KEY ("MAX_DEPTH")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("TIME_FORMAT")) TIMEMORY_SETTINGS_MEMBER_DEF(int16_t | |
TIMEMORY_SETTINGS_KEY ("PRECISION")) TIMEMORY_SETTINGS_MEMBER_DEF(int16_t | |
TIMEMORY_SETTINGS_KEY ("WIDTH")) TIMEMORY_SETTINGS_MEMBER_DEF(int32_t | |
TIMEMORY_SETTINGS_KEY ("MAX_WIDTH")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("SCIENTIFIC")) TIMEMORY_SETTINGS_MEMBER_DEF(int16_t | |
TIMEMORY_SETTINGS_KEY ("TIMING_PRECISION")) TIMEMORY_SETTINGS_MEMBER_DEF(int16_t | |
TIMEMORY_SETTINGS_KEY ("TIMING_WIDTH")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("TIMING_UNITS")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("TIMING_SCIENTIFIC")) TIMEMORY_SETTINGS_MEMBER_DEF(int16_t | |
TIMEMORY_SETTINGS_KEY ("MEMORY_PRECISION")) TIMEMORY_SETTINGS_MEMBER_DEF(int16_t | |
TIMEMORY_SETTINGS_KEY ("MEMORY_WIDTH")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("MEMORY_UNITS")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("MEMORY_SCIENTIFIC")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("OUTPUT_PATH")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("OUTPUT_PREFIX")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("INPUT_PATH")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("INPUT_PREFIX")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("INPUT_EXTENSIONS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("DART_TYPE")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("DART_COUNT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("DART_LABEL")) TIMEMORY_SETTINGS_MEMBER_DEF(size_t | |
TIMEMORY_SETTINGS_KEY ("MAX_THREAD_BOOKMARKS")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("CPU_AFFINITY")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("STACK_CLEARING")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("ADD_SECONDARY")) TIMEMORY_SETTINGS_MEMBER_DEF(size_t | |
TIMEMORY_SETTINGS_KEY ("THROTTLE_COUNT")) TIMEMORY_SETTINGS_MEMBER_DEF(size_t | |
TIMEMORY_SETTINGS_KEY ("THROTTLE_VALUE")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("GLOBAL_COMPONENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("TUPLE_COMPONENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("LIST_COMPONENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("OMPT_COMPONENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("MPIP_COMPONENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("NCCLP_COMPONENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("TRACE_COMPONENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("PROFILER_COMPONENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("KOKKOS_COMPONENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("COMPONENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("MPI_INIT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("MPI_FINALIZE")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("MPI_THREAD")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("MPI_THREAD_TYPE")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("UPCXX_INIT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("UPCXX_FINALIZE")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("PAPI_THREADING")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("PAPI_MULTIPLEXING")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("PAPI_FAIL_ON_ERROR")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("PAPI_QUIET")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("PAPI_EVENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("PAPI_ATTACH")) TIMEMORY_SETTINGS_MEMBER_DEF(int | |
TIMEMORY_SETTINGS_KEY ("PAPI_OVERFLOW")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("CUDA_EVENT_BATCH_SIZE")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("NVTX_MARKER_DEVICE_SYNC")) TIMEMORY_SETTINGS_MEMBER_DEF(int32_t | |
TIMEMORY_SETTINGS_KEY ("CUPTI_ACTIVITY_LEVEL")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("CUPTI_ACTIVITY_KINDS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("CUPTI_EVENTS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("CUPTI_METRICS")) TIMEMORY_SETTINGS_MEMBER_DEF(int | |
TIMEMORY_SETTINGS_KEY ("CUPTI_DEVICE")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("ROOFLINE_MODE")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("ROOFLINE_MODE_CPU")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("ROOFLINE_MODE_GPU")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("ROOFLINE_EVENTS_CPU")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("ROOFLINE_EVENTS_GPU")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("ROOFLINE_TYPE_LABELS")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("ROOFLINE_TYPE_LABELS_CPU")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("ROOFLINE_TYPE_LABELS_GPU")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("INSTRUCTION_ROOFLINE")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_NUM_THREADS")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_NUM_THREADS_CPU")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_NUM_THREADS_GPU")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_NUM_STREAMS")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_GRID_SIZE")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_BLOCK_SIZE")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_ALIGNMENT")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_MIN_WORKING_SIZE")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_MIN_WORKING_SIZE_CPU")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_MIN_WORKING_SIZE_GPU")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_MAX_DATA_SIZE")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_MAX_DATA_SIZE_CPU")) TIMEMORY_SETTINGS_MEMBER_DEF(uint64_t | |
TIMEMORY_SETTINGS_KEY ("ERT_MAX_DATA_SIZE_GPU")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("ERT_SKIP_OPS")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("CRAYPAT")) TIMEMORY_SETTINGS_MEMBER_DEF(int32_t | |
TIMEMORY_SETTINGS_KEY ("NODE_COUNT")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("DESTRUCTOR_REPORT")) TIMEMORY_SETTINGS_MEMBER_DEF(string_t | |
TIMEMORY_SETTINGS_KEY ("PYTHON_EXE")) TIMEMORY_SETTINGS_MEMBER_DEF(int64_t | |
TIMEMORY_SETTINGS_KEY ("SEPARATOR_FREQ")) TIMEMORY_SETTINGS_MEMBER_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("ENABLE_SIGNAL_HANDLER")) TIMEMORY_SETTINGS_REFERENCE_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("ALLOW_SIGNAL_HANDLER")) TIMEMORY_SETTINGS_REFERENCE_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("ENABLE_ALL_SIGNALS")) TIMEMORY_SETTINGS_REFERENCE_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("DISABLE_ALL_SIGNALS")) TIMEMORY_SETTINGS_REFERENCE_DEF(bool | |
TIMEMORY_SETTINGS_KEY ("FLAT_PROFILE")) TIMEMORY_SETTINGS_REFERENCE_DEF(bool | |
TIMEMORY_SETTINGS_LINKAGE (vsettings::display_map_t) vsettings | |
TIMEMORY_SETTINGS_LINKAGE (bool) vsettings | |
template<typename Tp > | |
TIMEMORY_NOCLONE storage_singleton< Tp > * | get_storage_singleton () |
template<typename Tp > | |
storage_singleton< Tp > * | get_storage_singleton () |
template<typename T > | |
void | print_graph_bracketed (const graph< T > &t, std::ostream &os=std::cout) |
template<typename T > | |
void | print_subgraph_bracketed (const graph< T > &t, typename graph< T >::iterator root, std::ostream &os=std::cout) |
template<typename T , typename Formatter = std::function<std::string(const T&)>> | |
void | print_graph (const tim::graph< T > &t, Formatter format, std::ostream &str=std::cout) |
template<typename T , typename Formatter = std::function<std::string(const T&)>> | |
void | print_subgraph (const tim::graph< T > &t, Formatter format, typename tim::graph< T >::iterator root, std::ostream &str=std::cout) |
template<typename T > | |
void | print_graph (const tim::graph< T > &t, std::ostream &str) |
template<typename T , typename Formatter = std::function<std::string(const T&)>> | |
void | print_graph_hierarchy (const tim::graph< T > &t, Formatter format, std::ostream &str=std::cout) |
template<typename T , typename Formatter = std::function<std::string(const T&)>> | |
void | print_subgraph_hierarchy (const tim::graph< T > &t, Formatter format, typename tim::graph< T >::iterator root, std::ostream &str=std::cout) |
void | insert_and_remove (const sys_signal &_type, signal_settings::signal_set_t *_ins, signal_settings::signal_set_t *_rem) |
template<typename FuncT , typename TraitsT = mpl::function_traits<FuncT>> | |
std::string | mangle (const std::string &func) |
bool | launch_process (const char *cmd, const std::string &extra, std::ostream *os) |
bool | enable_signal_detection (signal_settings::signal_set_t=signal_settings::get_default()) |
template<typename Tp , enable_if_t<!std::is_enum< Tp >::value &&std::is_integral< Tp >::value > = 0> | |
bool | enable_signal_detection (std::initializer_list< Tp > &&) |
void | disable_signal_detection () |
void | update_signal_detection (const signal_settings::signal_set_t &_signals) |
template<typename... ArgsT> | |
void | consume_parameters (ArgsT &&...) TIMEMORY_HIDDEN |
std::string | dirname (std::string _fname) |
int | makedir (std::string _dir, int umask) |
bool | get_bool (const std::string &strbool, bool _default) noexcept |
std::vector< std::string > | read_command_line (pid_t _pid) |
template<typename Tp > | |
bool | isfinite (const Tp &arg) |
template<typename Tp , typename ApiT = TIMEMORY_API, size_t N = 4> | |
mutex_t & | type_mutex (uint64_t _n=0) |
A simple way to get a mutex for a class or common behavior, e.g. type_mutex<decltype(std::cout)>() provides a mutex for synchronizing output streams. Recommend using in conjunction with auto-lock: tim::auto_lock_t _lk{ type_mutex<Foo>() } . More... | |
std::string | demangle (const char *_mangled_name, int *_status=nullptr) |
std::string | demangle (const std::string &_str, int *_status=nullptr) |
template<typename Tp > | |
auto | try_demangle () |
template<typename Tp > | |
auto | demangle () |
template<typename Tp > | |
auto | typeid_hash () |
template<typename T > | |
T | from_string (const std::string &str) |
template<typename T > | |
T | from_string (const char *cstr) |
template<typename ContainerT = std::vector<std::string>, typename PredicateT = std::function<std::string(const std::string&)>> | |
ContainerT | delimit (const std::string &line, const std::string &delimiters="\"',;: ", PredicateT &&predicate=[](const std::string &s) -> std::string { return s;}) |
template<typename PredicateT = std::function<std::string(const std::string&)>> | |
std::string | str_transform (const std::string &input, const std::string &_begin, const std::string &_end, PredicateT &&predicate) |
apply a string transformation to substring inbetween a common delimiter. e.g. More... | |
template<typename T > | |
size_t | get_hash (T &&obj) |
size_t | get_hash (const string_view_t &str) |
size_t | get_hash (const char *cstr) |
template<typename Tag , typename... Types> | |
auto | get (const auto_bundle< Tag, Types... > &_obj) |
template<typename Tag , typename... Types> | |
auto | get_labeled (const auto_bundle< Tag, Types... > &_obj) |
template<typename... Types> | |
auto | get (const auto_list< Types... > &_obj) |
template<typename... Types> | |
auto | get_labeled (const auto_list< Types... > &_obj) |
template<typename... Types> | |
auto | get (const auto_tuple< Types... > &_obj) |
template<typename... Types> | |
auto | get_labeled (const auto_tuple< Types... > &_obj) |
template<typename... Types> | |
auto | get (const component_bundle< Types... > &_obj) -> decltype(std::declval< component_bundle< Types... >>().get()) |
template<typename... Types> | |
auto | get_labeled (const component_bundle< Types... > &_obj) -> decltype(std::declval< component_bundle< Types... >>().get_labeled()) |
template<typename... Types> | |
auto | get (const component_list< Types... > &_obj) -> decltype(std::declval< component_list< Types... >>().get()) |
template<typename... Types> | |
auto | get_labeled (const component_list< Types... > &_obj) -> decltype(std::declval< component_list< Types... >>().get_labeled()) |
template<typename... Types> | |
auto | get (const component_tuple< Types... > &_obj) -> decltype(std::declval< component_tuple< Types... >>().get()) |
template<typename... Types> | |
auto | get_labeled (const component_tuple< Types... > &_obj) -> decltype(std::declval< component_tuple< Types... >>().get_labeled()) |
template<typename... Types> | |
auto | get (const lightweight_tuple< Types... > &_obj) -> decltype(std::declval< lightweight_tuple< Types... >>().get()) |
template<typename... Types> | |
auto | get_labeled (const lightweight_tuple< Types... > &_obj) -> decltype(std::declval< lightweight_tuple< Types... >>().get_labeled()) |
Extern template declarations
struct tim::remove_pointers |
struct tim::remove_pointers< Tuple< Tp... > > |
class tim::graph_allocator |
struct tim::complete_types |
struct tim::available_types |
struct tim::identity |
struct tim::type_list |
class tim::bundle |
Static polymorphic base class for component bundlers.
Definition at line 51 of file bundle.hpp.
class tim::component_bundle |
This is a variadic component wrapper which combines the features of tim::component_tuple<T...> and tim::component_list<U..>. The "T" types (compile-time fixed, allocated on stack) should be specified as usual, the "U" types (runtime-time optional, allocated on the heap) should be specified as a pointer. Initialization of the optional types is similar to tim::auto_list<U...> but no environment variable is built-in since, ideally, this environment variable should be customized based on the Tag template parameter.
Tag | unique identifying type for the bundle which when tim::trait::is_available<Tag> is false at compile-time or tim::trait::runtime_enabled<Tag>() is false at runtime, then none of the components will be collected |
Types | Specification of the component types to bundle together |
See also: tim::auto_bundle. The primary difference b/t the "component_*" and "auto_*" is that the latter used the constructor/destructor to call start and stop and is thus easier to just copy-and-paste into different places. However, the former is better suited for special configuration, data-access, etc.
class tim::auto_base_bundle |
class tim::auto_bundle |
This is a variadic component wrapper which combines the features of tim::auto_tuple<T...> and tim::auto_list<U..>. The "T" types (compile-time fixed, allocated on stack) should be specified as usual, the "U" types (runtime-time optional, allocated on the heap) should be specified as a pointer. Initialization of the optional types is similar to tim::auto_list<U...> but no environment variable is built-in since, ideally, this environment variable should be customized based on the Tag template parameter.
Tag | unique identifying type for the bundle which when tim::trait::is_available<Tag> is false at compile-time or tim::trait::runtime_enabled<Tag>() is false at runtime, then none of the components will be collected |
Types | Specification of the component types to bundle together |
The above code will record wall-clock, cpu-clock, and peak-rss. The intermediate storage will happen on the stack and when the destructor is called, it will add itself to the call-graph
class tim::component_hybrid |
class tim::auto_hybrid |
using tim::add_pointer_t = typedef conditional_t<(std::is_pointer<U>::value), U, U*> |
using tim::apply_transform_t = typedef typename impl::apply_transform<CheckT, CheckV, TransformT, T, U>::type |
using tim::auto_bundle_t = typedef convert_t<mpl::available_t<type_list<T...> >, auto_bundle<Tag> > |
Definition at line 352 of file available.hpp.
using tim::auto_list_t = typedef convert_t<mpl::available_t<concat<T...> >, auto_list<> > |
Definition at line 349 of file available.hpp.
std::unique_lock< std::recursive_mutex > tim::auto_lock_t |
Unique lock type around mutex_t.
Definition at line 115 of file utility.hpp.
using tim::auto_timer = typedef minimal_auto_timer_t |
Definition at line 65 of file auto_timer.hpp.
using tim::auto_timer_list_t = typedef minimal_auto_list_t |
Definition at line 64 of file auto_timer.hpp.
using tim::auto_timer_t = typedef auto_timer |
Definition at line 71 of file auto_timer.hpp.
using tim::auto_timer_tuple_t = typedef minimal_auto_tuple_t |
Definition at line 63 of file auto_timer.hpp.
using tim::auto_tuple_t = typedef convert_t<mpl::available_t<concat<T...> >, auto_tuple<> > |
Definition at line 346 of file available.hpp.
using tim::auto_user_bundle_t = typedef auto_bundle<TIMEMORY_API, component::user_global_bundle> |
Definition at line 36 of file auto_user_bundle.hpp.
using tim::available_auto_list_t = typedef convert_t<available_types_t, auto_list<> > |
using tim::available_auto_tuple_t = typedef convert_t<available_types_t, auto_tuple<> > |
using tim::available_component_list_t = typedef convert_t<available_types_t, component_list<> > |
using tim::available_component_tuple_t = typedef convert_t<available_types_t, component_tuple<> > |
using tim::available_list_t = typedef available_component_list_t |
using tim::available_tuple_t = typedef convert_t<available_types_t, std::tuple<> > |
using tim::available_types_t = typedef typename available_types<std::make_index_sequence<TIMEMORY_COMPONENTS_END> >::type |
using tim::common_singleton = typedef singleton<void, void, void> |
Definition at line 103 of file singleton.hpp.
using tim::complete_auto_list_t = typedef convert_t<complete_types_t, auto_list<> > |
using tim::complete_auto_tuple_t = typedef convert_t<complete_types_t, auto_tuple<> > |
using tim::complete_component_list_t = typedef convert_t<complete_types_t, component_list<> > |
using tim::complete_component_tuple_t = typedef convert_t<complete_types_t, component_tuple<> > |
using tim::complete_list_t = typedef complete_component_list_t |
using tim::complete_tuple_t = typedef convert_t<complete_types_t, std::tuple<> > |
using tim::complete_types_t = typedef typename complete_types<std::make_index_sequence<TIMEMORY_COMPONENTS_END> >::type |
using tim::component_bundle_t = typedef convert_t<mpl::available_t<type_list<T...> >, component_bundle<Tag> > |
Definition at line 336 of file available.hpp.
using tim::component_hybrid_t = typedef typename component_hybrid<T...>::type |
Definition at line 99 of file component_hybrid.hpp.
using tim::component_list_t = typedef convert_t<mpl::available_t<concat<T...> >, component_list<> > |
Definition at line 343 of file available.hpp.
using tim::component_tuple_t = typedef convert_t<mpl::available_t<concat<T...> >, component_tuple<> > |
Definition at line 340 of file available.hpp.
using tim::concat = typedef typename impl::concat<Types...>::type |
using tim::conditional_t = typedef typename std::conditional<B, Lhs, Rhs>::type |
using tim::contains_one_of = typedef typename impl::contains_one_of<Predicate, Types> |
using tim::contains_one_of_t = typedef typename contains_one_of<Predicate, Types>::type |
using tim::convert_each_t = typedef typename impl::convert_each<T, U...>::type |
using tim::convert_t = typedef typename impl::convert<T, U>::type |
using tim::decay_t = typedef typename std::decay<T>::type |
using tim::enable_if_t = typedef typename std::enable_if<B, T>::type |
using tim::full_auto_list_t = typedef auto_bundle<TIMEMORY_API, TIMEMORY_FULL_LIST_TYPES> |
Definition at line 49 of file auto_timer.hpp.
using tim::full_auto_timer_t = typedef auto_bundle<TIMEMORY_API, TIMEMORY_FULL_TUPLE_TYPES, TIMEMORY_FULL_LIST_TYPES> |
Definition at line 50 of file auto_timer.hpp.
using tim::full_auto_tuple_t = typedef auto_bundle<TIMEMORY_API, TIMEMORY_FULL_TUPLE_TYPES> |
Definition at line 48 of file auto_timer.hpp.
using tim::get_index_sequence_t = typedef typename get_index_sequence<decay_t<Tp> >::type |
using tim::global_bundle_t = typedef component_tuple<component::user_global_bundle> |
using tim::hash_alias_map_t = typedef std::unordered_map<hash_value_t, hash_value_t> |
using tim::hash_alias_ptr_t = typedef std::shared_ptr<hash_alias_map_t> |
using tim::hash_map_ptr_pair_t = typedef std::pair<hash_map_ptr_t, hash_map_ptr_t> |
using tim::hash_map_ptr_t = typedef std::shared_ptr<hash_map_t> |
using tim::hash_map_t = typedef std::unordered_map<hash_value_t, std::string> |
using tim::hash_resolver_t = typedef std::function<bool(hash_value_t, std::string&)> |
using tim::hash_resolver_vec_t = typedef std::vector<hash_resolver_t> |
using tim::hash_value_t = typedef size_t |
using tim::identity_t = typedef typename identity<T>::type |
using tim::index_of = typedef impl::index_of<Tp, Type> |
using tim::index_sequence = typedef std::integer_sequence<size_t, Idx...> |
using tim::index_sequence_for = typedef std::make_index_sequence<sizeof...(Types)> |
using tim::is_empty_t = typedef typename concepts::is_empty<T>::type |
Definition at line 521 of file concepts.hpp.
using tim::is_heap_wrapper_t = typedef typename concepts::is_heap_wrapper<T>::type |
Definition at line 533 of file concepts.hpp.
using tim::is_one_of = typedef typename impl::is_one_of<Tp, Types> |
using tim::is_stack_wrapper_t = typedef typename concepts::is_stack_wrapper<T>::type |
Definition at line 530 of file concepts.hpp.
using tim::is_variadic_t = typedef typename concepts::is_variadic<T>::type |
Definition at line 524 of file concepts.hpp.
using tim::is_wrapper_t = typedef typename concepts::is_wrapper<T>::type |
Definition at line 527 of file concepts.hpp.
using tim::lightweight_tuple_t = typedef convert_t<mpl::available_t<concat<T...> >, lightweight_tuple<> > |
Definition at line 355 of file available.hpp.
using tim::make_index_sequence = typedef std::make_integer_sequence<size_t, Num> |
using tim::make_integer_sequence = typedef std::make_integer_sequence<Tp, Num> |
using tim::minimal_auto_list_t = typedef auto_bundle<TIMEMORY_API, TIMEMORY_MINIMAL_LIST_TYPES> |
Definition at line 42 of file auto_timer.hpp.
using tim::minimal_auto_timer_t = typedef auto_bundle<TIMEMORY_API, TIMEMORY_MINIMAL_TUPLE_TYPES, TIMEMORY_MINIMAL_LIST_TYPES> |
Definition at line 43 of file auto_timer.hpp.
using tim::minimal_auto_tuple_t = typedef auto_bundle<TIMEMORY_API, TIMEMORY_MINIMAL_TUPLE_TYPES> |
Definition at line 41 of file auto_timer.hpp.
using tim::mpip_bundle_t = typedef component_tuple<component::user_mpip_bundle> |
std::recursive_mutex tim::mutex_t |
Recursive mutex is used for convenience since the performance penalty vs. a regular mutex is not really an issue since there are not many locks in general.
Definition at line 111 of file utility.hpp.
using tim::ncclp_bundle_t = typedef component_tuple<component::user_ncclp_bundle> |
using tim::ompt_bundle_t = typedef component_tuple<component::user_ompt_bundle> |
using tim::parser_err_t = typedef typename parser_t::result_type |
Definition at line 287 of file definition.hpp.
using tim::parser_t = typedef argparse::argument_parser |
Definition at line 286 of file definition.hpp.
using tim::priority_constant = typedef std::integral_constant<int, N> |
using tim::push_back_t = typedef typename mpl::push_back<Tuple, T>::type |
using tim::remove_const_t = typedef typename std::remove_const<T>::type |
using tim::remove_cv_t = typedef typename std::remove_cv<T>::type |
using tim::remove_pointer_t = typedef typename std::remove_pointer<U>::type |
using tim::remove_pointers_t = typedef typename remove_pointers<Tp>::type |
using tim::stl_tuple_t = typedef convert_t<mpl::available_t<concat<T...> >, std::tuple<> > |
Definition at line 330 of file available.hpp.
using tim::storage_singleton = typedef singleton<Tp, std::unique_ptr<Tp, impl::storage_deleter<Tp> >, TIMEMORY_API> |
using tim::string = typedef tim::mpl::apply<std::string> |
Definition at line 52 of file macros.hpp.
using tim::string_t = typedef std::string |
Definition at line 105 of file utility.hpp.
using tim::string_view_t = typedef std::string |
Definition at line 100 of file language.hpp.
using tim::tuple_concat_t = typedef typename impl::tuple_concat<Ts...>::type |
using tim::type_concat_t = typedef typename impl::type_concat<Ts...>::type |
using tim::type_list_element_t = typedef typename type_list_element<Idx, Tp>::type |
using tim::type_list_t = typedef convert_t<mpl::available_t<concat<T...> >, type_list<> > |
Definition at line 333 of file available.hpp.
using tim::unwrap_t = typedef typename impl::unwrapper<T>::type |
|
strong |
Enumerator | |
---|---|
Hangup | |
Interrupt | |
Quit | |
Illegal | |
Trap | |
Abort | |
Emulate | |
FPE | |
Kill | |
Bus | |
SegFault | |
System | |
Pipe | |
Alarm | |
Terminate | |
Urgent | |
Stop | |
CPUtime | |
FileSize | |
VirtualAlarm | |
ProfileAlarm | |
User1 | |
User2 |
Definition at line 69 of file declaration.hpp.
parser tim::add_argument | ( | ) |
Definition at line 332 of file definition.hpp.
void tim::add_hash_id | ( | const hash_map_ptr_t & | _hash_map, |
const hash_alias_ptr_t & | _hash_alias, | ||
hash_value_t | _hash_id, | ||
hash_value_t | _alias_hash_id | ||
) |
|
inline |
add an string to the default hash-map (if it doesn't already exist) and return the hash
Definition at line 207 of file types.hpp.
References _prefix, add_hash_id(), and get_hash_ids().
|
inline |
add an string to the given hash-map (if it doesn't already exist) and return the hash
Definition at line 187 of file types.hpp.
References _hash_id, _prefix, and get_hash_id().
Referenced by tim::source_location::source_location(), add_hash_id(), tim::base::storage::add_hash_id(), tim::cereal::load(), tim::bundle< Tag, BundleT, TupleT >::rekey(), tim::lightweight_tuple< Types >::rekey(), tim::bundle< Tag, BundleT, TupleT >::serialize(), tim::lightweight_tuple< Types >::serialize(), timemory_add_hash_id(), and timemory_push_trace().
void tim::add_hash_id | ( | hash_value_t | _hash_id, |
hash_value_t | _alias_hash_id | ||
) |
size_t tim::add_hash_resolver | ( | FuncT && | _func | ) |
Definition at line 261 of file types.hpp.
References get_hash_resolvers().
void tim::configure | ( | const Container< const char *, ExtraArgs... > & | components, |
Args &&... | args | ||
) |
void tim::configure | ( | const Container< Intp, ExtraArgs... > & | components, |
Args &&... | args | ||
) |
void tim::configure | ( | const Container< Intp, ExtraArgs... > & | components, |
Args && | ... | ||
) |
description: use this function to insert tools into a bundle
usage: using namespace tim::component; using optional_t = tim::auto_tuple<user_global_bundle>;
tim::configure<user_global_bundle>({ CPU_CLOCK, CPU_UTIL });
auto obj = new optional_t(FUNCTION, LINE); typename... ExtraArgs required because of extra "hidden" template parameters in STL containers
void tim::configure | ( | const Container< std::string, ExtraArgs... > & | components, |
Args &&... | args | ||
) |
this is for initializing with a container of string
Definition at line 71 of file configure.hpp.
References components, and enumerate_components().
void tim::configure | ( | const int | ncomponents, |
const int * | components, | ||
Args &&... | args | ||
) |
void tim::configure | ( | const std::initializer_list< std::string > & | components, |
Args &&... | args | ||
) |
Definition at line 59 of file configure.hpp.
References components, and enumerate_components().
void tim::configure | ( | const std::string & | components, |
Args &&... | args | ||
) |
this is for initializing with a string
Definition at line 82 of file configure.hpp.
References components, delimit(), and enumerate_components().
void tim::configure | ( | std::initializer_list< EnumT > | components, |
Args &&... | args | ||
) |
Definition at line 50 of file configure.hpp.
References components.
Referenced by tim::sampling::sampler< CompT< Types... >, N, SigIds... >::configure(), and tim::sampling::sampler< CompT< Types... >, N, SigIds... >::start().
void tim::consume_parameters | ( | ArgsT && | ... | ) |
Definition at line 285 of file types.hpp.
Referenced by tim::operation::finalize::mpi_get< Type, true >::mpi_get(), tim::component::cuda_profiler::configure(), tim::kokkosp::get_static(), get_storage_singleton(), tim::kokkosp::get_tl_static(), tim::component::caliper_common::init(), tim::operation::init_storage< Tp >::init(), tim::bundle< Tag, BundleT, TupleT >::init_storage(), tim::lightweight_tuple< Types >::init_storage(), tim::env_settings::insert(), tim::plotting::operation::join(), kokkosp_init_library(), tim::settings::load(), makedir(), tim::openmp::ompt_suppress_unused_variable_warnings(), tim::component::papi_common::overflow_handler(), tim::component::ompt_handle< Api >::preinit(), tim::component::ompt_data_tracker< Api >::preinit(), tim::settings::push(), tim::config::read_command_line(), read_command_line(), tim::settings::save(), set_env(), tim::component::ompt_data_tracker< Api >::store(), and timemory_push_trace_hash().
|
inline |
Definition at line 666 of file utility.hpp.
Referenced by configure(), tim::env::configure(), description(), enumerate_components(), tim::env::get_bundle_components(), tim::component::cupti_counters::get_event_initializer(), tim::component::cupti_activity::get_initializer(), tim::component::papi_common::get_initializer(), tim::component::network_stats::get_interfaces(), tim::component::cupti_counters::get_metric_initializer(), tim::ert::configuration< DeviceT, Tp, CounterT >::get_skip_ops(), if(), initialize(), tim::env::initialize(), insert(), tim::env::insert(), launch_process(), tim::settings::read(), tim::popen::read_fork(), tim::operation::finalize::print< Tp, true >::setup(), and tim::data::stream::write_banner().
|
inline |
|
inline |
Definition at line 166 of file utility.hpp.
Referenced by tim::operation::finalize::mpi_get< Type, true >::mpi_get(), tim::component::gotcha< Nt, BundleT, DiffT >::construct(), demangle(), tim::ert::configuration< DeviceT, Tp, CounterT >::get_executor(), tim::component::cpu_roofline< Types >::get_type_string(), tim::component::gpu_roofline< Types >::get_type_string(), tim::operation::finalize::mpi_get< Type, true >::operator()(), tim::operation::finalize::upc_get< Type, true >::operator()(), and tim::operation::finalize::get< Type, true >::operator()().
|
inline |
Definition at line 238 of file utility.hpp.
References demangle().
std::string tim::demangle_hash_identifier | ( | std::string | , |
char | bdelim = '[' , |
||
char | edelim = ']' |
||
) |
Referenced by get_demangled_hash_identifier(), and tim::operation::decode< ApiT >::operator()().
tim::description | ( | "A generic option for any setting. Each argument MUST be passed in " "form: ' | NAME = VALUE'. E.g. --timemory-args " "\"papi_events=PAPI_TOT_INS,PAPI_TOT_CYC\" text_output=off" | ) | & |
Definition at line 334 of file definition.hpp.
References _settings, DEBUG_PRINT_HERE, delimit(), and tim::argparse::argument_parser::get().
Referenced by tim::operation::finalize::print< Tp, true >::print(), tim::argparse::argument_parser::enable_help(), tim::operation::finalize::print< Tp, true >::setup(), and tim::operation::finalize::print< Tp, true >::update_data().
TIMEMORY_UTILITY_INLINE std::string tim::dirname | ( | std::string | _fname | ) |
Definition at line 39 of file utility.cpp.
|
inline |
parser tim::enable_help | ( | ) |
|
inline |
Definition at line 368 of file signals.hpp.
Referenced by if(), and update_signal_detection().
|
inline |
Definition at line 373 of file signals.hpp.
std::vector< TIMEMORY_COMPONENT > tim::enumerate_components | ( | const Container< StringT, ExtraArgs... > & | component_names | ) |
description: use this function to generate an array of enumerations from a list of string that can be subsequently used to initialize an auto_list or a component_list
usage: using namespace tim::component; using optional_t = tim::auto_list<wall_clock, cpu_clock, cpu_util, cuda_event>;
auto obj = new optional_t(FUNCTION, LINE); tim::initialize(*obj, tim::enumerate_components({ "cpu_clock", "cpu_util"}));
Definition at line 62 of file enumerate.hpp.
References tim::runtime::enumerate().
Referenced by configure(), tim::env::configure(), enumerate_components(), tim::env::get_bundle_components(), tim::env::initialize(), initialize(), insert(), tim::env::insert(), timemory_add_components(), timemory_begin_record_types(), timemory_get_begin_record_types(), and timemory_remove_components().
|
inline |
Definition at line 77 of file enumerate.hpp.
References enumerate_components().
std::set< TIMEMORY_COMPONENT > tim::enumerate_components | ( | const std::set< std::string, ExtraArgs... > & | component_names | ) |
std::vector<TIMEMORY_COMPONENT> tim::enumerate_components | ( | const std::string & | names, |
const StringT & | env_id = "" |
||
) |
tim::err_action | ( | parser-> | parse_known_argsargc, argv, "--", settings::verbose() | ) |
|
inline |
Definition at line 119 of file types.hpp.
References timemory_finalize().
tim::for | ( | auto &itr :exe_name | ) |
Definition at line 123 of file definition.hpp.
tim::for | ( | const auto &ext :_exe_suffixes | ) |
tim::for | ( | const auto &itr :_settings-> | ordering() | ) |
Definition at line 323 of file definition.hpp.
References _settings, tim::argparse::argument_parser::add_argument(), and parser.
|
inline |
Definition at line 321 of file utility.hpp.
|
inline |
Definition at line 308 of file utility.hpp.
void tim::generic_serialization | ( | const std::string & | fname, |
const Tp & | obj, | ||
const std::string & | _main_name = "timemory" , |
||
const std::string & | _data_name = "data" , |
||
FuncT && | _func = [](typename policy::output_archive_t<decay_t<Tp>>::type&) {} |
||
) |
Definition at line 65 of file serialization.hpp.
void tim::generic_serialization | ( | const std::string & | fname, |
const Tp & | obj, | ||
const std::string & | _main_name = "timemory" , |
||
const std::string & | _data_name = "data" , |
||
FuncT && | _func = [](typename policy::output_archive_t<decay_t<Tp>>::type&) {} |
||
) |
Definition at line 103 of file serialization.hpp.
void tim::generic_serialization | ( | std::ostream & | ofs, |
const Tp & | obj, | ||
const std::string & | _main_name = "timemory" , |
||
const std::string & | _data_name = "data" , |
||
FuncT && | _func = [](typename policy::output_archive_t<decay_t<Tp>>::type&) {} |
||
) |
Definition at line 143 of file serialization.hpp.
auto tim::get | ( | const auto_bundle< Tag, Types... > & | _obj | ) |
Definition at line 152 of file auto_bundle.hpp.
Referenced by tim::operation::finalize::flamegraph< Type >::flamegraph(), tim::operation::finalize::mpi_get< Type, true >::mpi_get(), tim::policy::record_statistics< CompT, Tp >::apply(), tim::component::gotcha< Nt, BundleT, DiffT >::construct(), tim::trait::apply< TraitT, CommonT >::get(), get(), tim::component::factory::get_typeids(), tim::operation::init_storage< Tp >::init(), tim::singleton< Type, PointerT, TagT >::instance(), tim::operation::common_utils::is_empty(), tim::operation::finalize::mpi_get< Type, true >::operator()(), tim::operation::finalize::upc_get< Type, true >::operator()(), tim::trait::apply< TraitT, CommonT >::operator()(), tim::operation::finalize::print< Tp, true >::print_json(), tim::operation::finalize::print< Tp, true >::print_tree(), tim::settings::read(), tim::operation::finalize::print< Tp, true >::read_json(), tim::singleton< Type, PointerT, TagT >::reset(), tim::component::gotcha< Nt, BundleT, DiffT >::revert(), tim::ert::serialize(), tim::bundle< Tag, BundleT, TupleT >::start(), tim::component::mpip_handle< Toolset, Tag >::stop(), tim::bundle< Tag, BundleT, TupleT >::stop(), and tim::operation::finalize::print< Tp, true >::write_stream().
auto tim::get | ( | const auto_list< Types... > & | _obj | ) |
Definition at line 143 of file auto_list.hpp.
References get().
auto tim::get | ( | const auto_tuple< Types... > & | _obj | ) |
Definition at line 117 of file auto_tuple.hpp.
References get().
auto tim::get | ( | const component_bundle< Types... > & | _obj | ) | -> decltype(std::declval<component_bundle<Types...>>().get()) |
Definition at line 111 of file component_bundle.hpp.
auto tim::get | ( | const component_list< Types... > & | _obj | ) | -> decltype(std::declval<component_list<Types...>>().get()) |
Definition at line 130 of file component_list.hpp.
auto tim::get | ( | const component_tuple< Types... > & | _obj | ) | -> decltype(std::declval<component_tuple<Types...>>().get()) |
Definition at line 112 of file component_tuple.hpp.
auto tim::get | ( | const lightweight_tuple< Types... > & | _obj | ) | -> decltype(std::declval<lightweight_tuple<Types...>>().get()) |
Definition at line 622 of file lightweight_tuple.hpp.
|
noexcept |
Definition at line 117 of file utility.cpp.
Referenced by tim::argparse::argument_parser::argument::get().
hash_value_t tim::get_combined_hash_id | ( | hash_value_t | _lhs, |
hash_value_t | _rhs | ||
) |
Definition at line 158 of file types.hpp.
Referenced by get_combined_hash_id().
hash_value_t tim::get_combined_hash_id | ( | hash_value_t | _lhs, |
Tp && | _rhs | ||
) |
Definition at line 167 of file types.hpp.
References get_combined_hash_id(), and get_hash_id().
Referenced by tim::scope::config::compute_hash().
auto tim::get_demangled_hash_identifier | ( | Args &&... | _args | ) |
Definition at line 283 of file types.hpp.
References demangle_hash_identifier(), and get_hash_identifier().
bool tim::get_env | ( | const std::string & | env_id, |
bool | _default | ||
) |
std::string tim::get_env | ( | const std::string & | env_id, |
std::string | _default | ||
) |
Tp tim::get_env | ( | const std::string & | env_id, |
Tp | _default | ||
) |
Definition at line 171 of file declaration.hpp.
References tim::env_settings::instance().
Referenced by tim::signal_settings::check_environment(), tim::env::configure(), tim::vsettings::get_debug(), tim::env::initialize(), tim::env::insert(), and timemory_enable_pthread_gotcha_wrapper().
size_t tim::get_hash | ( | const char * | cstr | ) |
Definition at line 809 of file utility.hpp.
size_t tim::get_hash | ( | const string_view_t & | str | ) |
Definition at line 801 of file utility.hpp.
size_t tim::get_hash | ( | T && | obj | ) |
Definition at line 793 of file utility.hpp.
Referenced by tim::hasher< T >::operator()().
hash_alias_ptr_t& tim::get_hash_aliases | ( | ) |
hash_value_t tim::get_hash_id | ( | const hash_alias_ptr_t & | _hash_alias, |
hash_value_t | _hash_id | ||
) |
hash_value_t tim::get_hash_id | ( | Tp && | _prefix | ) |
Definition at line 140 of file types.hpp.
References _prefix.
Referenced by add_hash_id(), get_combined_hash_id(), tim::operation::push_node< Tp >::operator()(), timemory_is_throttled(), timemory_pop_trace(), and timemory_reset_throttle().
std::string tim::get_hash_identifier | ( | const hash_map_ptr_t & | _hash_map, |
const hash_alias_ptr_t & | _hash_alias, | ||
hash_value_t | _hash_id | ||
) |
std::string tim::get_hash_identifier | ( | hash_value_t | _hash_id | ) |
|
inline |
this does not check other threads or aliases. Only call this function when you know that the hash exists on the thread and is not an alias
Definition at line 237 of file types.hpp.
References get_hash_ids().
Referenced by tim::bundle< Tag, BundleT, TupleT >::set_prefix().
hash_map_ptr_t& tim::get_hash_ids | ( | ) |
std::shared_ptr<hash_resolver_vec_t>& tim::get_hash_resolvers | ( | ) |
Referenced by add_hash_resolver(), and tim::operation::decode< ApiT >::operator()().
auto tim::get_labeled | ( | const auto_bundle< Tag, Types... > & | _obj | ) |
Definition at line 161 of file auto_bundle.hpp.
Referenced by get_labeled().
auto tim::get_labeled | ( | const auto_list< Types... > & | _obj | ) |
auto tim::get_labeled | ( | const auto_tuple< Types... > & | _obj | ) |
auto tim::get_labeled | ( | const component_bundle< Types... > & | _obj | ) | -> decltype(std::declval<component_bundle<Types...>>().get_labeled()) |
Definition at line 121 of file component_bundle.hpp.
auto tim::get_labeled | ( | const component_list< Types... > & | _obj | ) | -> decltype(std::declval<component_list<Types...>>().get_labeled()) |
Definition at line 140 of file component_list.hpp.
auto tim::get_labeled | ( | const component_tuple< Types... > & | _obj | ) | -> decltype(std::declval<component_tuple<Types...>>().get_labeled()) |
Definition at line 122 of file component_tuple.hpp.
auto tim::get_labeled | ( | const lightweight_tuple< Types... > & | _obj | ) | -> decltype(std::declval<lightweight_tuple<Types...>>().get_labeled()) |
Definition at line 632 of file lightweight_tuple.hpp.
std::string tim::get_local_datetime | ( | const char * | dt_format, |
std::time_t * | dt_curr | ||
) |
Definition at line 132 of file settings.cpp.
References tim::settings::get_launch_time(), and TIMEMORY_API.
Referenced by tim::settings::get_global_output_prefix().
PtrT tim::get_shared_ptr_lone_instance | ( | ) |
Definition at line 77 of file declaration.hpp.
PairT & tim::get_shared_ptr_pair | ( | ) |
Definition at line 42 of file declaration.hpp.
PtrT tim::get_shared_ptr_pair_instance | ( | ) |
Definition at line 55 of file declaration.hpp.
PtrT tim::get_shared_ptr_pair_main_instance | ( | ) |
Definition at line 66 of file declaration.hpp.
TIMEMORY_NOCLONE storage_singleton<Tp>* tim::get_storage_singleton | ( | ) |
Definition at line 74 of file declaration.hpp.
References consume_parameters().
storage_singleton<Tp>* tim::get_storage_singleton | ( | ) |
tim::if | ( | _alias_itr ! | = _hash_alias->end() | ) | -> second |
tim::if | ( | _cleanup_parser | ) |
tim::if | ( | _cleanup_settings &&! | _shared_settings | ) |
tim::if | ( | _cleanup_settings | ) |
tim::if | ( | _manager | ) |
Definition at line 162 of file definition.hpp.
tim::if | ( | _settings | ) |
Definition at line 63 of file definition.hpp.
References _settings, delimit(), tim::signal_settings::enable(), enable_signal_detection(), tim::signal_settings::get_default(), tim::signal_settings::get_enabled(), PRINT_HERE, and TIMEMORY_EXCEPTION.
tim::if | ( | exe_name. | empty() | ) |
tim::if | ( | parser-> | exists"help" | ) |
void tim::init | ( | Args &&... | args | ) |
Definition at line 111 of file types.hpp.
References timemory_init().
Referenced by tim::bundle< Tag, BundleT, TupleT >::bundle(), tim::lightweight_tuple< Types >::lightweight_tuple(), and tim::component::papi_common::initialize_papi().
void tim::initialize | ( | CompList< CompTypes... > & | obj, |
const Container< const char *, ExtraArgs... > & | components | ||
) |
Definition at line 110 of file initialize.hpp.
References components, and initialize().
void tim::initialize | ( | CompList< CompTypes... > & | obj, |
const Container< Intp, ExtraArgs... > & | components | ||
) |
description: use this function to initialize a auto_list or component_list from a list of enumerations
usage: using namespace tim::component; using optional_t = tim::auto_list<wall_clock, cpu_clock, cpu_util, cuda_event>; auto obj = new optional_t(FUNCTION, LINE); tim::initialize(*obj, { CPU_CLOCK, CPU_UTIL }); typename... ExtraArgs required because of extra "hidden" template parameters in STL containers
Definition at line 99 of file initialize.hpp.
References components, and tim::runtime::initialize().
|
inline |
Definition at line 72 of file initialize.hpp.
References components, enumerate_components(), and initialize().
void tim::initialize | ( | CompList< CompTypes... > & | obj, |
const int | ncomponents, | ||
const int * | components | ||
) |
Definition at line 124 of file initialize.hpp.
References components, and tim::runtime::initialize().
|
inline |
this is for initializing with a string
Definition at line 84 of file initialize.hpp.
References components, delimit(), enumerate_components(), and initialize().
|
inline |
Definition at line 53 of file initialize.hpp.
References components.
Referenced by tim::singleton< Type, PointerT, TagT >::singleton(), tim::auto_base_bundle< Tag, CompT, BundleT >::initialize(), tim::env::initialize(), and initialize().
|
inline |
Definition at line 62 of file initialize.hpp.
References components, enumerate_components(), and initialize().
void tim::initialize | ( | T * | obj, |
Args &&... | args | ||
) |
void tim::insert | ( | Bundle< Idx, Type > & | obj, |
const Container< const char *, ExtraArgs... > & | components | ||
) |
Definition at line 105 of file insert.hpp.
References components, and insert().
void tim::insert | ( | Bundle< Idx, Type > & | obj, |
const Container< Intp, ExtraArgs... > & | components | ||
) |
description: use this function to insert tools into a bundle
usage: using namespace tim::component; using optional_t = tim::auto_tuple<user_global_bundle>; auto obj = new optional_t(FUNCTION, LINE); tim::insert(obj.get<user_global_bundle>(), { CPU_CLOCK, CPU_UTIL }); typename... ExtraArgs required because of extra "hidden" template parameters in STL containers
Definition at line 94 of file insert.hpp.
References components, and tim::runtime::insert().
|
inline |
this is for initializing with a container of string
Definition at line 68 of file insert.hpp.
References components, enumerate_components(), and insert().
void tim::insert | ( | Bundle< Idx, Type > & | obj, |
const int | ncomponents, | ||
const int * | components | ||
) |
Definition at line 118 of file insert.hpp.
References components, and tim::runtime::insert().
|
inline |
Definition at line 56 of file insert.hpp.
References components, enumerate_components(), and insert().
|
inline |
this is for initializing with a string
Definition at line 79 of file insert.hpp.
References components, delimit(), enumerate_components(), and insert().
|
inline |
Definition at line 47 of file insert.hpp.
References components.
Referenced by tim::kokkosp::create_profiler(), tim::env::insert(), tim::utility::path::insert(), insert(), tim::singleton< Type, PointerT, TagT >::instance(), and tim::component::cupti_counters::label_array().
void tim::insert | ( | T * | obj, |
Args &&... | args | ||
) |
|
inline |
Definition at line 58 of file signals.hpp.
Referenced by tim::signal_settings::disable(), and tim::signal_settings::enable().
auto tim::invoke_preinit | ( | int | ) | -> decltype(std::declval<T>().preinit(), void()) |
Definition at line 51 of file storage_initializer.hpp.
auto tim::invoke_preinit | ( | long | ) |
Definition at line 60 of file storage_initializer.hpp.
|
inline |
Definition at line 40 of file kokkosp.cpp.
References tim::component::data_tracker< InpT, Tag >::description(), and tim::component::data_tracker< InpT, Tag >::label().
|
inline |
Definition at line 127 of file utility.hpp.
Referenced by tim::component::read_char::get(), tim::component::written_char::get(), tim::component::read_bytes::get(), tim::component::written_bytes::get(), and tim::math::is_finite().
|
inline |
Definition at line 172 of file popen.hpp.
References tim::plotting::cmd, delimit(), tim::popen::flush_output(), tim::popen::pclose(), and tim::popen::popen().
Referenced by makedir().
bool tim::load_env | ( | const std::string & | env_id, |
bool | _default | ||
) |
std::string tim::load_env | ( | const std::string & | env_id, |
std::string | _default | ||
) |
Tp tim::load_env | ( | const std::string & | env_id, |
Tp | _default | ||
) |
TIMEMORY_UTILITY_INLINE int tim::makedir | ( | std::string | _dir, |
int | umask | ||
) |
Definition at line 66 of file utility.cpp.
References tim::plotting::_dir, consume_parameters(), and launch_process().
Referenced by tim::settings::compose_output_filename(), and tim::settings::get_global_output_prefix().
std::string tim::mangle | ( | const std::string & | func | ) |
Definition at line 106 of file mangler.hpp.
parser tim::on_error | ( | [=] (parser_t &p, const parser_err_t &_err) { err_action(_err);if(dmp::rank()==0 &&_settings->get_verbose() > 0) p.print_help("-- <NON_TIMEMORY_ARGS>");} | ) |
References _settings, err_action, and tim::argparse::argument_parser::print_help().
void tim::print_env | ( | std::ostream & | os = std::cout | ) |
void tim::print_graph | ( | const tim::graph< T > & | t, |
Formatter | format, | ||
std::ostream & | str = std::cout |
||
) |
Definition at line 3269 of file graph.hpp.
References tim::graph< T, AllocatorT >::begin(), tim::graph< T, AllocatorT >::end(), tim::graph< T, AllocatorT >::number_of_siblings(), and print_subgraph().
void tim::print_graph | ( | const tim::graph< T > & | t, |
std::ostream & | str | ||
) |
Definition at line 3288 of file graph.hpp.
References tim::graph< T, AllocatorT >::begin(), tim::graph< T, AllocatorT >::end(), tim::graph< T, AllocatorT >::number_of_siblings(), and print_subgraph().
void tim::print_graph_bracketed | ( | const graph< T > & | t, |
std::ostream & | os = std::cout |
||
) |
Definition at line 3190 of file graph.hpp.
References tim::graph< T, AllocatorT >::begin(), tim::graph< T, AllocatorT >::end(), tim::graph< T, AllocatorT >::number_of_siblings(), and print_subgraph_bracketed().
void tim::print_graph_hierarchy | ( | const tim::graph< T > & | t, |
Formatter | format, | ||
std::ostream & | str = std::cout |
||
) |
Definition at line 3364 of file graph.hpp.
References tim::graph< T, AllocatorT >::begin(), tim::graph< T, AllocatorT >::end(), tim::graph< T, AllocatorT >::number_of_siblings(), and print_subgraph_hierarchy().
void tim::print_subgraph | ( | const tim::graph< T > & | t, |
Formatter | format, | ||
typename tim::graph< T >::iterator | root, | ||
std::ostream & | str = std::cout |
||
) |
Definition at line 3312 of file graph.hpp.
References tim::graph< T, AllocatorT >::begin(), tim::graph< T, AllocatorT >::empty(), tim::graph< T, AllocatorT >::end(), tim::graph< T, AllocatorT >::number_of_children(), and tim::graph< T, AllocatorT >::number_of_siblings().
Referenced by print_graph().
void tim::print_subgraph_bracketed | ( | const graph< T > & | t, |
typename graph< T >::iterator | root, | ||
std::ostream & | os = std::cout |
||
) |
Definition at line 3211 of file graph.hpp.
References tim::graph< T, AllocatorT >::begin(), tim::graph< T, AllocatorT >::empty(), tim::graph< T, AllocatorT >::end(), tim::graph< T, AllocatorT >::number_of_children(), and tim::graph< T, AllocatorT >::number_of_siblings().
Referenced by print_graph_bracketed().
void tim::print_subgraph_hierarchy | ( | const tim::graph< T > & | t, |
Formatter | format, | ||
typename tim::graph< T >::iterator | root, | ||
std::ostream & | str = std::cout |
||
) |
Definition at line 3383 of file graph.hpp.
References tim::graph< T, AllocatorT >::begin(), tim::graph< T, AllocatorT >::depth(), tim::graph< T, AllocatorT >::empty(), tim::graph< T, AllocatorT >::end(), tim::graph< T, AllocatorT >::number_of_children(), and tim::graph< T, AllocatorT >::number_of_siblings().
Referenced by print_graph_hierarchy().
TIMEMORY_UTILITY_INLINE std::vector< std::string > tim::read_command_line | ( | pid_t | _pid | ) |
Definition at line 285 of file utility.cpp.
References consume_parameters().
Referenced by tim::config::read_command_line(), and timemory_trace_init().
void tim::set_env | ( | const std::string & | env_var, |
const Tp & | _val, | ||
int | override | ||
) |
Definition at line 226 of file declaration.hpp.
References consume_parameters().
Referenced by tim::settings::insert(), kokkosp_init_library(), and timemory_set_environ().
|
inline |
apply a string transformation to substring inbetween a common delimiter. e.g.
Definition at line 708 of file utility.hpp.
Referenced by tim::operation::decode< ApiT >::tokenized_demangle().
tim::timemory_argparse | ( | argc | , |
argv | |||
) |
Referenced by kokkosp_parse_args(), and kokkosp_print_help().
tim::timemory_argparse | ( | argc | , |
argv | , | ||
& | parser | ||
) |
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 |
||
) |
tim::TIMEMORY_CONFIG_LINKAGE | ( | void | ) |
Definition at line 170 of file definition.hpp.
References _prefix, _suffix, exe_name, and timemory_init().
tim::TIMEMORY_ENVIRONMENT_LINKAGE | ( | bool | ) | const |
tim::TIMEMORY_ENVIRONMENT_LINKAGE | ( | env_settings::env_map_t | ) |
Definition at line 96 of file definition.hpp.
tim::TIMEMORY_ENVIRONMENT_LINKAGE | ( | env_settings::~ | env_settings() | ) |
Definition at line 84 of file definition.hpp.
tim::TIMEMORY_ENVIRONMENT_LINKAGE | ( | std::string | ) | const |
tim::TIMEMORY_ENVIRONMENT_LINKAGE | ( | tim::env_settings * | ) |
Definition at line 338 of file definition.hpp.
tim::TIMEMORY_ENVIRONMENT_LINKAGE | ( | void | ) |
Definition at line 333 of file definition.hpp.
References tim::env_settings::instance().
void tim::timemory_finalize | ( | ) |
finalization of the specified types
Referenced by finalize(), and kokkosp_finalize_library().
tim::TIMEMORY_HASH_LINKAGE | ( | hash_alias_ptr_t & | ) |
Definition at line 57 of file definition.hpp.
tim::TIMEMORY_HASH_LINKAGE | ( | hash_map_ptr_t & | ) |
Definition at line 47 of file definition.hpp.
tim::TIMEMORY_HASH_LINKAGE | ( | hash_value_t | ) | const & |
tim::TIMEMORY_HASH_LINKAGE | ( | std::shared_ptr< hash_resolver_vec_t > & | ) |
Definition at line 67 of file definition.hpp.
tim::TIMEMORY_HASH_LINKAGE | ( | void | ) | const & |
|
inline |
Definition at line 49 of file declaration.hpp.
Referenced by init(), kokkosp_init_library(), kokkosp_parse_args(), and TIMEMORY_CONFIG_LINKAGE().
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)
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 | ( | int * | argc, |
char *** | argv, | ||
const std::string & | _prefix = "timemory-" , |
||
const std::string & | _suffix = "-output" |
||
) |
initialization (creates manager, configures output path, mpi_init)
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)
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_library_constructor | ( | ) |
manager* tim::timemory_manager_master_instance | ( | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ADD_SECONDARY" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ALLOW_SIGNAL_HANDLER" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "AUTO_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "BANNER" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "COLLAPSE_PROCESSES" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "COLLAPSE_THREADS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "COMPONENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "COUT_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "CPU_AFFINITY" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "CRAYPAT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "CTEST_NOTES" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "CUDA_EVENT_BATCH_SIZE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "CUPTI_ACTIVITY_KINDS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "CUPTI_ACTIVITY_LEVEL" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "CUPTI_DEVICE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "CUPTI_EVENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "CUPTI_METRICS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "DART_COUNT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "DART_LABEL" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "DART_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "DART_TYPE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "DEBUG" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "DESTRUCTOR_REPORT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "DIFF_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "DISABLE_ALL_SIGNALS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ENABLE_ALL_SIGNALS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ENABLE_SIGNAL_HANDLER" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ENABLED" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_ALIGNMENT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_BLOCK_SIZE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_GRID_SIZE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_MAX_DATA_SIZE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_MAX_DATA_SIZE_CPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_MAX_DATA_SIZE_GPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_MIN_WORKING_SIZE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_MIN_WORKING_SIZE_CPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_MIN_WORKING_SIZE_GPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_NUM_STREAMS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_NUM_THREADS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_NUM_THREADS_CPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_NUM_THREADS_GPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ERT_SKIP_OPS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "FILE_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "FLAMEGRAPH_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "FLAT_PROFILE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "GLOBAL_COMPONENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "INPUT_EXTENSIONS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "INPUT_PATH" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "INPUT_PREFIX" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "INSTRUCTION_ROOFLINE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "JSON_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "KOKKOS_COMPONENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "LIST_COMPONENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MAX_DEPTH" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MAX_THREAD_BOOKMARKS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MAX_WIDTH" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MEMORY_PRECISION" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MEMORY_SCIENTIFIC" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MEMORY_UNITS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MEMORY_WIDTH" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MPI_FINALIZE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MPI_INIT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MPI_THREAD" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MPI_THREAD_TYPE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "MPIP_COMPONENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "NCCLP_COMPONENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "NODE_COUNT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "NVTX_MARKER_DEVICE_SYNC" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "OMPT_COMPONENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "OUTPUT_PATH" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "OUTPUT_PREFIX" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PAPI_ATTACH" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PAPI_EVENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PAPI_FAIL_ON_ERROR" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PAPI_MULTIPLEXING" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PAPI_OVERFLOW" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PAPI_QUIET" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PAPI_THREADING" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PLOT_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PRECISION" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PROFILER_COMPONENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "PYTHON_EXE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ROOFLINE_EVENTS_CPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ROOFLINE_EVENTS_GPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ROOFLINE_MODE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ROOFLINE_MODE_CPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ROOFLINE_MODE_GPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ROOFLINE_TYPE_LABELS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ROOFLINE_TYPE_LABELS_CPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "ROOFLINE_TYPE_LABELS_GPU" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "SCIENTIFIC" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "SEPARATOR_FREQ" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "STACK_CLEARING" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "SUPPRESS_CONFIG" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "SUPPRESS_PARSING" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "TEXT_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "THROTTLE_COUNT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "THROTTLE_VALUE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "TIME_FORMAT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "TIME_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "TIMING_PRECISION" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "TIMING_SCIENTIFIC" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "TIMING_UNITS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "TIMING_WIDTH" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "TRACE_COMPONENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "TREE_OUTPUT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "TUPLE_COMPONENTS" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "UPCXX_FINALIZE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "UPCXX_INIT" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "VERBOSE" | ) |
tim::TIMEMORY_SETTINGS_KEY | ( | "WIDTH" | ) |
tim::TIMEMORY_SETTINGS_LINKAGE | ( | bool | ) |
Definition at line 89 of file vsettings.cpp.
References tim::vsettings::m_cmdline, tim::vsettings::m_env_name, and tim::vsettings::m_name.
tim::TIMEMORY_SETTINGS_LINKAGE | ( | vsettings::display_map_t | ) |
Definition at line 55 of file vsettings.cpp.
References tim::vsettings::m_choices, tim::vsettings::m_cmdline, tim::vsettings::m_count, tim::vsettings::m_description, tim::vsettings::m_env_name, tim::vsettings::m_max_count, and tim::vsettings::m_name.
tim::TIMEMORY_SETTINGS_MEMBER_DEF | ( | string_t | , |
config_file | , | ||
TIMEMORY_SETTINGS_KEY("CONFIG_FILE") | |||
) |
|
inline |
mutex_t & tim::type_mutex | ( | uint64_t | _n = 0 | ) |
A simple way to get a mutex for a class or common behavior, e.g. type_mutex<decltype(std::cout)>()
provides a mutex for synchronizing output streams. Recommend using in conjunction with auto-lock: tim::auto_lock_t _lk{ type_mutex<Foo>() }
.
Tp | data type for lock |
ApiT | API for lock |
N | max size |
Definition at line 157 of file utility.hpp.
Referenced by tim::operation::finalize::print< Tp, true >::write_stream().
|
inline |
Definition at line 299 of file utility.hpp.
|
inline |
Definition at line 75 of file signals.hpp.
References tim::signal_settings::allow(), disable_signal_detection(), and enable_signal_detection().
tim::while | ( | (pos=exe_name.find("--")) ! | = std::string::npos | ) |
tim::while | ( | exe_name.find('/') ! | = std::string::npos | ) |
tim::while | ( | exe_name.find('\\') ! | = std::string::npos | ) |
bool tim::_cleanup_parser = parser == nullptr |
Definition at line 302 of file definition.hpp.
bool tim::_cleanup_settings = _settings == nullptr |
Definition at line 307 of file definition.hpp.
const hash_alias_ptr_t& tim::_hash_alias |
Definition at line 93 of file definition.hpp.
Referenced by tim::operation::decode< ApiT >::operator()().
const hash_alias_ptr_t hash_value_t tim::_hash_id |
Definition at line 82 of file definition.hpp.
Referenced by add_hash_id(), and tim::operation::decode< ApiT >::operator()().
char argparse::argument_parser const std::string & tim::_prefix |
Definition at line 59 of file definition.hpp.
Referenced by tim::operation::finalize::flamegraph< Type >::flamegraph(), tim::operation::print< Tp >::print(), tim::operation::set_prefix< Tp >::set_prefix(), tim::base::storage::add_hash_id(), add_hash_id(), tim::settings::compose_input_filename(), tim::settings::compose_output_filename(), tim::operation::echo_measurement< Tp, true >::generate_name(), tim::settings::get_global_input_prefix(), tim::settings::get_global_output_prefix(), get_hash_id(), tim::component::factory::hidden::get_opaque(), tim::cereal::load(), tim::operation::finalize::get< Type, true >::operator()(), tim::operation::set_prefix< Tp >::operator()(), tim::component::opaque::push(), tim::cereal::save(), tim::component::caliper_marker::set_prefix(), tim::component::caliper_loop_marker::set_prefix(), tim::component::nvtx_marker::set_prefix(), tim::component::malloc_gotcha::set_prefix(), tim::component::likwid_marker::set_prefix(), tim::component::likwid_nvmarker::set_prefix(), tim::component::user_bundle< Idx, Tag >::set_prefix(), tim::component::gperftools_heap_profiler::set_prefix(), tim::component::ompt_handle< Api >::set_prefix(), tim::component::vtune_event::set_prefix(), tim::component::vtune_frame::set_prefix(), tim::component::opaque::setup(), and TIMEMORY_CONFIG_LINKAGE().
char argparse::argument_parser tim::settings* tim::_settings |
Definition at line 276 of file definition.hpp.
Referenced by tim::operation::finalize::merge< Type, true >::merge(), c_timemory_init(), description(), for(), tim::settings::get_global_output_prefix(), tim::component::network_stats::get_interfaces(), if(), on_error(), tim::operation::finalize::ctest_notes_deleter::operator()(), tim::settings::parse(), tim::manager::swap_settings(), timemory_finalize_library(), and tim::manager::update_settings().
char argparse::argument_parser const std::string const std::string & tim::_suffix |
Definition at line 60 of file definition.hpp.
Referenced by tim::operation::print< Tp >::print(), and TIMEMORY_CONFIG_LINKAGE().
tim::add_secondary |
Definition at line 1371 of file settings.cpp.
tim::allow_signal_handler |
Definition at line 1484 of file settings.cpp.
char *** tim::argv |
Definition at line 59 of file definition.hpp.
Referenced by tim::argparse::argument_vector::argument_vector(), c_timemory_init(), if(), kokkosp_parse_args(), kokkosp_print_help(), tim::argparse::argument_parser::parse(), tim::argparse::argument_parser::parse_known_args(), tim::settings::store_command_line(), timemory_init_library(), and timemory_init_library_().
tim::auto_output |
Definition at line 1315 of file settings.cpp.
tim::banner |
Definition at line 1330 of file settings.cpp.
tim::collapse_processes |
Definition at line 1333 of file settings.cpp.
Referenced by tim::operation::finalize::mpi_get< Type, true >::mpi_get(), tim::operation::finalize::mpi_get< Type, true >::operator()(), tim::operation::finalize::upc_get< Type, true >::operator()(), and tim::operation::finalize::get< Type, true >::operator()().
tim::collapse_threads |
Definition at line 1331 of file settings.cpp.
Referenced by tim::operation::finalize::get< Type, true >::operator()().
tim::components |
Definition at line 1394 of file settings.cpp.
Referenced by c_timemory_create_auto_tuple(), configure(), tim::env::get_user_bundle_variables(), initialize(), insert(), timemory_push_components_(), and timemory_set_default_().
tim::cout_output |
Definition at line 1316 of file settings.cpp.
Referenced by tim::operation::finalize::print< Tp, true >::execute(), and tim::operation::finalize::print< Tp, true >::setup().
tim::cpu_affinity |
Definition at line 1368 of file settings.cpp.
tim::cpu_roofline_events |
Definition at line 1432 of file settings.cpp.
tim::cpu_roofline_mode |
Definition at line 1428 of file settings.cpp.
Referenced by tim::component::cpu_roofline< Types >::event_mode().
tim::craypat_categories |
Definition at line 1472 of file settings.cpp.
tim::ctest_notes |
Definition at line 1327 of file settings.cpp.
tim::cuda_event_batch_size |
Definition at line 1413 of file settings.cpp.
Referenced by tim::component::cuda_event::get_batched_marker_size().
tim::cupti_activity_kinds |
Definition at line 1419 of file settings.cpp.
Referenced by tim::component::cupti_activity::get_initializer().
tim::cupti_activity_level |
Definition at line 1417 of file settings.cpp.
Referenced by tim::component::cupti_activity::get_initializer().
tim::cupti_device |
Definition at line 1425 of file settings.cpp.
Referenced by tim::component::cupti_counters::get_device_initializer().
tim::cupti_events |
Definition at line 1421 of file settings.cpp.
Referenced by tim::component::cupti_counters::get_event_initializer().
tim::cupti_metrics |
Definition at line 1423 of file settings.cpp.
Referenced by tim::component::cupti_counters::get_metric_initializer().
tim::dart_count |
Definition at line 1364 of file settings.cpp.
tim::dart_label |
Definition at line 1365 of file settings.cpp.
Referenced by tim::operation::echo_measurement< Tp, true >::generate_name(), and tim::operation::echo_measurement< Tp, true >::generate_prefix().
tim::dart_output |
Definition at line 1321 of file settings.cpp.
Referenced by tim::operation::finalize::print< Tp, true >::execute().
tim::dart_type |
Definition at line 1363 of file settings.cpp.
tim::debug |
Definition at line 1329 of file settings.cpp.
Referenced by tim::operation::finalize::mpi_get< Type, true >::mpi_get(), tim::bundle< Tag, BundleT, TupleT >::~bundle(), tim::component::caliper_common::_init(), tim::component::malloc_gotcha::audit(), tim::component::cpu_roofline< Types >::configure(), tim::component::user_bundle< Idx, Tag >::configure(), tim::component::gotcha< Nt, BundleT, DiffT >::construct(), tim::component::data_tracker< InpT, Tag >::description(), tim::base::ring_buffer::destroy(), tim::component::cpu_roofline< Types >::event_mode(), tim::sampling::sampler< CompT< Types... >, N, SigIds... >::execute(), tim::ert::counter< DeviceT, Tp, Counter >::get_buffer(), tim::component::papi_common::get_initializer(), tim::component::cpu_roofline< Types >::global_finalize(), tim::component::gpu_roofline< Types >::global_finalize(), tim::component::cpu_roofline< Types >::global_init(), tim::component::user_bundle< Idx, Tag >::global_init(), tim::bundle< Tag, BundleT, TupleT >::init(), tim::component::papi_common::initialize(), tim::component::papi_common::initialize_papi(), tim::data::stream::insert(), tim::component::user_bundle< Idx, Tag >::insert(), tim::operation::finalize::mpi_get< Type, true >::operator()(), tim::operation::finalize::upc_get< Type, true >::operator()(), tim::operation::finalize::get< Type, true >::operator()(), tim::operation::finalize::ctest_notes_deleter::operator()(), tim::ert::ops_main(), tim::plotting::operation::plot(), tim::config::read_command_line(), tim::component::user_bundle< Idx, Tag >::reset(), tim::sampling::sampler< CompT< Types... >, N, SigIds... >::set_delay(), tim::sampling::sampler< CompT< Types... >, N, SigIds... >::set_frequency(), tim::component::gotcha< Nt, BundleT, DiffT >::start(), tim::component::gotcha< Nt, BundleT, DiffT >::stop(), tim::component::cpu_roofline< Types >::thread_init(), timemory_add_hash_id(), timemory_add_hash_ids(), timemory_copy_hash_ids(), timemory_push_trace(), and timemory_push_trace_hash().
tim::destructor_report |
Definition at line 1475 of file settings.cpp.
tim::diff_output |
Definition at line 1324 of file settings.cpp.
Referenced by tim::operation::finalize::print< Tp, true >::execute().
tim::disable_all_signals |
Definition at line 1488 of file settings.cpp.
tim::enable_all_signals |
Definition at line 1486 of file settings.cpp.
tim::enable_signal_handler |
Definition at line 1482 of file settings.cpp.
tim::enabled |
Definition at line 1314 of file settings.cpp.
Referenced by timemory_begin_record(), timemory_begin_record_enum(), timemory_begin_record_types(), timemory_get_begin_record(), timemory_get_begin_record_enum(), timemory_get_begin_record_types(), timemory_pause(), timemory_push_trace(), timemory_push_trace_hash(), and timemory_resume().
auto tim::err_action |
Definition at line 296 of file definition.hpp.
Referenced by on_error().
tim::ert_alignment |
Definition at line 1456 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_alignment().
tim::ert_block_size |
Definition at line 1454 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_block_size().
tim::ert_grid_size |
Definition at line 1452 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_grid_size().
tim::ert_max_data_size |
Definition at line 1464 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_max_data_size().
tim::ert_max_data_size_cpu |
Definition at line 1466 of file settings.cpp.
tim::ert_max_data_size_gpu |
Definition at line 1468 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_max_data_size().
tim::ert_min_working_size |
Definition at line 1458 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_min_working_size().
tim::ert_min_working_size_cpu |
Definition at line 1460 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_min_working_size().
tim::ert_min_working_size_gpu |
Definition at line 1462 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_min_working_size().
tim::ert_num_streams |
Definition at line 1450 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_num_streams().
tim::ert_num_threads |
Definition at line 1444 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_num_threads().
tim::ert_num_threads_cpu |
Definition at line 1446 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_num_threads().
tim::ert_num_threads_gpu |
Definition at line 1448 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_num_threads().
tim::ert_skip_ops |
Definition at line 1470 of file settings.cpp.
Referenced by tim::ert::configuration< DeviceT, Tp, CounterT >::get_skip_ops().
tim::exe_name = (argc > 0) ? argv[0] : "" |
Definition at line 107 of file definition.hpp.
Referenced by for(), if(), TIMEMORY_CONFIG_LINKAGE(), and timemory_trace_init().
tim::file_output |
Definition at line 1317 of file settings.cpp.
Referenced by tim::operation::finalize::print< Tp, true >::execute(), and tim::operation::finalize::print< Tp, true >::setup().
tim::flamegraph_output |
Definition at line 1325 of file settings.cpp.
tim::flat_profile |
Definition at line 1491 of file settings.cpp.
Referenced by tim::component::caliper_common::get_nested().
tim::global_components |
Definition at line 1376 of file settings.cpp.
Referenced by tim::env::get_user_bundle_variables().
tim::gpu_roofline_events |
Definition at line 1434 of file settings.cpp.
tim::gpu_roofline_mode |
Definition at line 1430 of file settings.cpp.
Referenced by tim::component::gpu_roofline< Types >::event_mode().
auto tim::help_action |
Definition at line 290 of file definition.hpp.
tim::input_extensions |
Definition at line 1361 of file settings.cpp.
tim::input_path |
Definition at line 1358 of file settings.cpp.
Referenced by tim::settings::compose_input_filename(), and tim::settings::get_global_input_prefix().
tim::input_prefix |
Definition at line 1359 of file settings.cpp.
Referenced by tim::settings::compose_input_filename(), and tim::settings::get_global_input_prefix().
tim::instruction_roofline |
Definition at line 1442 of file settings.cpp.
Referenced by tim::component::gpu_roofline< Types >::configure().
tim::json_output |
Definition at line 1319 of file settings.cpp.
Referenced by tim::operation::finalize::print< Tp, true >::execute(), and tim::plotting::operation::plot().
tim::kokkos_components |
Definition at line 1392 of file settings.cpp.
Referenced by tim::env::get_user_bundle_variables().
tim::list_components |
Definition at line 1380 of file settings.cpp.
tim::max_depth |
Definition at line 1335 of file settings.cpp.
Referenced by tim::operation::finalize::flamegraph< Type >::flamegraph(), tim::operation::finalize::print< Tp, true >::print(), tim::operation::finalize::print< Tp, true >::print_dart(), tim::operation::finalize::print< Tp, true >::setup(), and tim::operation::finalize::print< Tp, true >::write_stream().
tim::max_thread_bookmarks |
Definition at line 1366 of file settings.cpp.
tim::max_width |
Definition at line 1339 of file settings.cpp.
Referenced by tim::data::base::stream_entry::construct().
tim::memory_precision |
Definition at line 1348 of file settings.cpp.
tim::memory_scientific |
Definition at line 1353 of file settings.cpp.
tim::memory_units |
Definition at line 1351 of file settings.cpp.
Referenced by tim::component::read_char::get_display_unit(), tim::component::written_char::get_display_unit(), tim::component::read_bytes::get_display_unit(), tim::component::written_bytes::get_display_unit(), tim::component::current_peak_rss::get_display_unit(), tim::component::read_char::get_unit(), tim::component::written_char::get_unit(), tim::component::read_bytes::get_unit(), tim::component::written_bytes::get_unit(), and tim::component::current_peak_rss::get_unit().
tim::memory_width |
Definition at line 1350 of file settings.cpp.
tim::mpi_finalize |
Definition at line 1396 of file settings.cpp.
tim::mpi_init |
Definition at line 1395 of file settings.cpp.
tim::mpi_thread |
Definition at line 1397 of file settings.cpp.
tim::mpi_thread_type |
Definition at line 1398 of file settings.cpp.
tim::mpip_components |
Definition at line 1384 of file settings.cpp.
Referenced by tim::env::get_user_bundle_variables().
tim::ncclp_components |
Definition at line 1386 of file settings.cpp.
Referenced by tim::env::get_user_bundle_variables().
tim::node_count |
Definition at line 1474 of file settings.cpp.
Referenced by tim::operation::finalize::mpi_get< Type, true >::mpi_get(), tim::operation::finalize::mpi_get< Type, true >::operator()(), tim::operation::finalize::upc_get< Type, true >::operator()(), and tim::operation::finalize::get< Type, true >::operator()().
tim::nvtx_marker_device_sync |
Definition at line 1415 of file settings.cpp.
Referenced by tim::component::nvtx_marker::use_device_sync().
tim::ompt_components |
Definition at line 1382 of file settings.cpp.
Referenced by tim::env::get_user_bundle_variables().
tim::output_path |
Definition at line 1355 of file settings.cpp.
Referenced by tim::settings::compose_input_filename(), kokkosp_init_library(), and timemory_trace_init().
tim::output_prefix |
Definition at line 1356 of file settings.cpp.
Referenced by tim::settings::compose_input_filename(), and tim::operation::finalize::ctest_notes_deleter::operator()().
tim::papi_attach |
Definition at line 1411 of file settings.cpp.
Referenced by tim::component::papi_common::initialize().
tim::papi_events |
Definition at line 1410 of file settings.cpp.
Referenced by tim::component::papi_common::get_initializer().
tim::papi_fail_on_error |
Definition at line 1407 of file settings.cpp.
Referenced by tim::component::papi_common::get_initializer().
tim::papi_multiplexing |
Definition at line 1405 of file settings.cpp.
Referenced by tim::component::papi_common::initialize().
tim::papi_overflow |
Definition at line 1412 of file settings.cpp.
Referenced by tim::component::papi_common::initialize().
tim::papi_quiet |
Definition at line 1409 of file settings.cpp.
tim::papi_threading |
Definition at line 1403 of file settings.cpp.
char argparse::argument_parser * tim::parser |
Definition at line 209 of file definition.hpp.
Referenced by for().
tim::plot_output |
Definition at line 1323 of file settings.cpp.
Referenced by tim::operation::finalize::print< Tp, true >::execute().
size_t tim::pos = std::string::npos |
Definition at line 129 of file definition.hpp.
Referenced by tim::operation::finalize::merge< Type, true >::merge(), tim::graph< T, AllocatorT >::begin(), tim::settings::compose_output_filename(), tim::graph< T, AllocatorT >::depth(), tim::graph< T, AllocatorT >::end(), tim::graph< T, AllocatorT >::max_depth(), tim::graph< T, AllocatorT >::iterator_base::number_of_children(), tim::graph< T, AllocatorT >::number_of_children(), tim::graph< T, AllocatorT >::number_of_siblings(), tim::operation::finalize::ctest_notes_deleter::operator()(), and tim::graph< T, AllocatorT >::reparent().
tim::precision |
Definition at line 1337 of file settings.cpp.
Referenced by tim::policy::output_archive< cereal::PrettyJSONOutputArchive, Api >::get(), and tim::policy::output_archive< cereal::MinimalJSONOutputArchive, Api >::get().
tim::profiler_components |
Definition at line 1390 of file settings.cpp.
Referenced by tim::env::get_user_bundle_variables().
tim::python_exe |
Definition at line 1477 of file settings.cpp.
if argc tim::return |
Definition at line 284 of file definition.hpp.
tim::roofline_mode |
Definition at line 1426 of file settings.cpp.
Referenced by tim::component::cpu_roofline< Types >::event_mode(), and tim::component::gpu_roofline< Types >::event_mode().
tim::roofline_type_labels |
Definition at line 1436 of file settings.cpp.
Referenced by tim::component::cpu_roofline< Types >::label(), and tim::component::gpu_roofline< Types >::label().
tim::roofline_type_labels_cpu |
Definition at line 1438 of file settings.cpp.
Referenced by tim::component::cpu_roofline< Types >::label().
tim::roofline_type_labels_gpu |
Definition at line 1440 of file settings.cpp.
Referenced by tim::component::gpu_roofline< Types >::label().
tim::scientific |
Definition at line 1340 of file settings.cpp.
tim::separator_frequency |
Definition at line 1479 of file settings.cpp.
Referenced by tim::data::stream::separator_frequency().
tim::stack_clearing |
Definition at line 1369 of file settings.cpp.
tim::suppress_config |
Definition at line 1312 of file settings.cpp.
tim::suppress_parsing |
Definition at line 1310 of file settings.cpp.
tim::text_output |
Definition at line 1318 of file settings.cpp.
Referenced by tim::operation::finalize::print< Tp, true >::execute(), and tim::operation::finalize::print< Tp, true >::setup().
tim::throttle_count |
Definition at line 1372 of file settings.cpp.
tim::throttle_value |
Definition at line 1374 of file settings.cpp.
tim::time_format |
Definition at line 1336 of file settings.cpp.
tim::time_output |
Definition at line 1322 of file settings.cpp.
tim::timeline_profile |
Definition at line 1492 of file settings.cpp.
tim::timing_precision |
Definition at line 1341 of file settings.cpp.
tim::timing_scientific |
Definition at line 1346 of file settings.cpp.
tim::timing_units |
Definition at line 1344 of file settings.cpp.
Referenced by tim::component::read_char::get_display_unit(), tim::component::written_char::get_display_unit(), tim::component::read_bytes::get_display_unit(), tim::component::written_bytes::get_display_unit(), tim::component::read_char::get_timing_unit(), tim::component::written_char::get_timing_unit(), tim::component::read_bytes::get_timing_unit(), tim::component::written_bytes::get_timing_unit(), tim::component::read_char::get_unit(), tim::component::written_char::get_unit(), tim::component::read_bytes::get_unit(), and tim::component::written_bytes::get_unit().
tim::timing_width |
Definition at line 1343 of file settings.cpp.
tim::trace_components |
Definition at line 1388 of file settings.cpp.
Referenced by tim::env::get_user_bundle_variables(), and timemory_trace_init().
tim::tree_output |
Definition at line 1320 of file settings.cpp.
Referenced by tim::operation::finalize::print< Tp, true >::print(), tim::operation::finalize::print< Tp, true >::execute(), and tim::operation::finalize::print< Tp, true >::update_data().
tim::tuple_components |
Definition at line 1378 of file settings.cpp.
tim::upcxx_finalize |
Definition at line 1401 of file settings.cpp.
tim::upcxx_init |
Definition at line 1400 of file settings.cpp.
tim::verbose |
Definition at line 1328 of file settings.cpp.
Referenced by tim::operation::finalize::mpi_get< Type, true >::mpi_get(), tim::bundle< Tag, BundleT, TupleT >::~bundle(), tim::component::caliper_common::_init(), tim::component::malloc_gotcha::audit(), tim::component::cpu_roofline< Types >::configure(), tim::component::user_bundle< Idx, Tag >::configure(), tim::component::data_tracker< InpT, Tag >::description(), tim::base::ring_buffer::destroy(), tim::component::cpu_roofline< Types >::event_mode(), tim::component::papi_common::get_initializer(), tim::component::cpu_roofline< Types >::global_finalize(), tim::component::gpu_roofline< Types >::global_finalize(), tim::component::cpu_roofline< Types >::global_init(), tim::component::user_bundle< Idx, Tag >::global_init(), tim::bundle< Tag, BundleT, TupleT >::init(), tim::component::papi_common::initialize(), tim::component::papi_common::initialize_papi(), tim::component::user_bundle< Idx, Tag >::insert(), tim::operation::finalize::mpi_get< Type, true >::operator()(), tim::operation::finalize::upc_get< Type, true >::operator()(), tim::operation::finalize::ctest_notes_deleter::operator()(), tim::ert::ops_main(), tim::plotting::operation::plot(), tim::config::read_command_line(), tim::component::user_bundle< Idx, Tag >::reset(), tim::sampling::sampler< CompT< Types... >, N, SigIds... >::set_delay(), tim::sampling::sampler< CompT< Types... >, N, SigIds... >::set_frequency(), tim::component::cpu_roofline< Types >::thread_init(), timemory_begin_record(), timemory_begin_record_enum(), timemory_begin_record_types(), timemory_end_record(), timemory_get_begin_record(), timemory_get_begin_record_enum(), timemory_get_begin_record_types(), and timemory_init_library().
tim::width |
Definition at line 1338 of file settings.cpp.
Referenced by tim::operation::finalize::get< Type, true >::operator()().