timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
|
#include "timemory/utility/delimit.hpp"
#include "timemory/utility/popen.hpp"
#include "timemory/utility/types.hpp"
Go to the source code of this file.
Namespaces | |
namespace | tim |
Macros | |
#define | TIMEMORY_UTILITY_LAUNCH_PROCESS_CPP_ 1 |
Functions | |
tim::TIMEMORY_UTILITY_LINKAGE (bool) launch_process(const char *cmd | |
tim::if (delim.size()< 2) | |
_args | tim::fill (nullptr) |
_args | tim::at (0) |
_args | tim::at (1) |
_args | tim::at (2) |
tim::if (fp==nullptr) | |
tim::if (os) | |
tim::if (ec !=0) | |
Variables | |
const std::string & | tim::extra |
const std::string std::ostream * | tim::os |
tim::popen::TIMEMORY_PIPE * | tim::fp = nullptr |
tim::else | |
std::array< char *, 4 > | tim::_args |
char * | tim::_cshell = getenv("SHELL") |
char * | tim::_ushell = getusershell() |
std::string | tim::_shell = (_cshell) ? _cshell : (_ushell) ? getusershell() : "/bin/sh" |
auto | tim::ec = tim::popen::pclose(fp) |
return | tim::true |
#define TIMEMORY_UTILITY_LAUNCH_PROCESS_CPP_ 1 |
Definition at line 26 of file launch_process.cpp.