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/operations/types/async.hpp"
Public Types | |
using | type = Tp |
using | task_type = std::packaged_task< void()> |
using | this_type = async< Tp > |
using | lock_type = std::unique_lock< std::mutex > |
Public Member Functions | |
async (type &obj) | |
~async () | |
async (const async &)=delete | |
async & | operator= (const async &)=delete |
async (async &&)=default | |
async & | operator= (async &&)=default |
template<typename FuncT , typename... Args> | |
auto | operator() (FuncT &&func, Args... args) |
void | wait () |
using tim::operation::async< Tp >::lock_type = std::unique_lock<std::mutex> |
using tim::operation::async< Tp >::task_type = std::packaged_task<void()> |
using tim::operation::async< Tp >::this_type = async<Tp> |
using tim::operation::async< Tp >::type = Tp |
|
inlineexplicit |
|
inline |
|
delete |
|
default |
|
inline |
|
default |
|
delete |
|
inline |