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.
|
Extension for the input or output archive types. It will throw an error if used on new archive types and not specialized. More...
#include "timemory/mpl/type_traits.hpp"
Public Types | |
using | xml_types = type_list< cereal::XMLInputArchive, cereal::XMLOutputArchive > |
using | json_types = type_list< cereal::JSONInputArchive, cereal::PrettyJSONOutputArchive, cereal::MinimalJSONOutputArchive > |
using | binary_types = type_list< cereal::BinaryInputArchive, cereal::BinaryOutputArchive, cereal::PortableBinaryInputArchive, cereal::PortableBinaryOutputArchive > |
Public Member Functions | |
template<typename U = T> | |
enable_if_t< is_one_of< U, xml_types >::value, std::string > | operator() () |
template<typename U = T> | |
enable_if_t< is_one_of< U, json_types >::value, std::string > | operator() () |
template<typename U = T> | |
enable_if_t< is_one_of< U, binary_types >::value, std::string > | operator() () |
Extension for the input or output archive types. It will throw an error if used on new archive types and not specialized.
Definition at line 593 of file type_traits.hpp.
using tim::trait::archive_extension< T >::binary_types = type_list<cereal::BinaryInputArchive, cereal::BinaryOutputArchive, cereal::PortableBinaryInputArchive, cereal::PortableBinaryOutputArchive> |
Definition at line 599 of file type_traits.hpp.
using tim::trait::archive_extension< T >::json_types = type_list<cereal::JSONInputArchive, cereal::PrettyJSONOutputArchive, cereal::MinimalJSONOutputArchive> |
Definition at line 596 of file type_traits.hpp.
using tim::trait::archive_extension< T >::xml_types = type_list<cereal::XMLInputArchive, cereal::XMLOutputArchive> |
Definition at line 595 of file type_traits.hpp.
|
inline |
Definition at line 605 of file type_traits.hpp.
|
inline |
Definition at line 611 of file type_traits.hpp.
|
inline |
Definition at line 617 of file type_traits.hpp.