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.
serialization.hpp File Reference
#include "timemory/mpl/concepts.hpp"
#include "timemory/mpl/policy.hpp"
#include "timemory/tpls/cereal/archives.hpp"
#include "timemory/utility/filepath.hpp"
#include <fstream>
#include <string>
+ Include dependency graph for serialization.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tim
 

Functions

template<typename Tp , typename FuncT >
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 &) {})
 
template<typename ArchiveT , typename ApiT = TIMEMORY_API, typename Tp , typename FuncT >
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 &) {})
 
template<typename ArchiveT , typename ApiT = TIMEMORY_API, typename Tp , typename FuncT >
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 &) {})