46template <
typename... Types,
typename... Args,
47 enable_if_t<(
sizeof...(Types) > 0 &&
sizeof...(Args) >= 2),
int>>
63template <
typename Func>
67#if defined(TIMEMORY_LINUX)
71 for(
auto& itr : _cmdline)
72 std::cout << itr <<
" ";
73 std::cout << std::endl;
76 int _argc = _cmdline.size();
77 char** _argv =
new char*[_argc];
78 for(
int i = 0; i < _argc; ++i)
79 _argv[i] = (
char*) _cmdline.at(i).c_str();
Include the macros for config.
Declare the config types.
The declaration for the types for manager without definitions.
std::array< char *, 4 > _args
typename impl::tuple_concat< Ts... >::type tuple_concat_t
void timemory_init(Args &&... _args)
typename std::enable_if< B, T >::type enable_if_t
Alias template for enable_if.
std::vector< std::string > read_command_line(pid_t _pid)
typename impl::convert< T, U >::type convert_t
void consume_parameters(ArgsT &&...)
lightweight tuple-alternative for meta-programming logic
This is used to apply/query storage data for multiple component types.