rocprofiler-sdk/cxx/serialization.hpp File Reference#
Rocprofiler SDK Developer API 0.5.0
ROCm Profiling API and tools
|
serialization.hpp File Reference
#include <rocprofiler-sdk/buffer.h>
#include <rocprofiler-sdk/callback_tracing.h>
#include <rocprofiler-sdk/external_correlation.h>
#include <rocprofiler-sdk/fwd.h>
#include <rocprofiler-sdk/internal_threading.h>
#include <rocprofiler-sdk/rocprofiler.h>
#include <rocprofiler-sdk/cxx/name_info.hpp>
#include <cereal/archives/binary.hpp>
#include <cereal/archives/json.hpp>
#include <cereal/archives/portable_binary.hpp>
#include <cereal/cereal.hpp>
#include <cereal/types/array.hpp>
#include <cereal/types/atomic.hpp>
#include <cereal/types/bitset.hpp>
#include <cereal/types/chrono.hpp>
#include <cereal/types/common.hpp>
#include <cereal/types/complex.hpp>
#include <cereal/types/deque.hpp>
#include <cereal/types/functional.hpp>
#include <cereal/types/list.hpp>
#include <cereal/types/map.hpp>
#include <cereal/types/optional.hpp>
#include <cereal/types/queue.hpp>
#include <cereal/types/set.hpp>
#include <cereal/types/stack.hpp>
#include <cereal/types/string.hpp>
#include <cereal/types/tuple.hpp>
#include <cereal/types/unordered_map.hpp>
#include <cereal/types/unordered_set.hpp>
#include <cereal/types/utility.hpp>
#include <cereal/types/variant.hpp>
#include <cereal/types/vector.hpp>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for serialization.hpp:
Go to the source code of this file.
Namespaces | |
namespace | cereal |
Macros | |
#define | ROCP_SDK_SAVE_DATA_FIELD(FIELD) ar(make_nvp(#FIELD, data.FIELD)) |
#define | ROCP_SDK_SAVE_DATA_VALUE(NAME, VALUE) ar(make_nvp(NAME, data.VALUE)) |
#define | ROCP_SDK_SAVE_DATA_CSTR(FIELD) ar(make_nvp(#FIELD, std::string{data.FIELD ? data.FIELD : ""})) |
#define | ROCP_SDK_SAVE_DATA_BITFIELD(NAME, VALUE) |
#define | ROCPROFILER_SDK_CEREAL_NAMESPACE_BEGIN |
#define | ROCPROFILER_SDK_CEREAL_NAMESPACE_END } |
Functions | |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_context_id_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_agent_id_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, hsa_agent_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_queue_id_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_counter_id_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_correlation_id_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_dim3_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_callback_tracing_code_object_load_data_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_callback_tracing_code_object_kernel_symbol_register_data_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_hsa_api_retval_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, const hsa_queue_t &data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, hsa_amd_event_scratch_alloc_start_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, hsa_amd_event_scratch_alloc_end_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, hsa_amd_event_scratch_free_start_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, hsa_amd_event_scratch_free_end_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, hsa_amd_event_scratch_async_reclaim_start_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, hsa_amd_event_scratch_async_reclaim_end_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_marker_api_retval_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_callback_tracing_hsa_api_data_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_callback_tracing_marker_api_data_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_hip_api_retval_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_callback_tracing_hip_api_data_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_callback_tracing_scratch_memory_data_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_kernel_dispatch_info_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_callback_tracing_kernel_dispatch_data_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_callback_tracing_memory_copy_data_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_rccl_api_retval_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_callback_tracing_rccl_api_data_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_dispatch_counting_service_data_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_dispatch_counting_service_record_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_callback_tracing_record_t data) |
template<typename ArchiveT , typename Tp > | |
void | cereal::save_buffer_tracing_api_record (ArchiveT &ar, Tp data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_buffer_tracing_hsa_api_record_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_record_counter_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_buffer_tracing_hip_api_record_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_buffer_tracing_marker_api_record_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_buffer_tracing_rccl_api_record_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_buffer_tracing_kernel_dispatch_record_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_buffer_tracing_memory_copy_record_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, const rocprofiler_buffer_tracing_page_migration_record_t &data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, const rocprofiler_buffer_tracing_page_migration_page_fault_record_t &data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, const rocprofiler_buffer_tracing_page_migration_page_migrate_record_t &data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, const rocprofiler_buffer_tracing_page_migration_queue_suspend_record_t &data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, const rocprofiler_buffer_tracing_page_migration_unmap_from_gpu_record_t &data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_buffer_tracing_scratch_memory_record_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_buffer_tracing_correlation_id_retirement_record_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, HsaCacheType data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, HSA_LINKPROPERTY data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, HSA_CAPABILITY data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, HSA_MEMORYPROPERTY data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, HSA_ENGINE_VERSION data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, HSA_ENGINE_ID data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_agent_cache_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_agent_io_link_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_agent_mem_bank_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_pc_sampling_configuration_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, const rocprofiler_agent_v0_t &data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_counter_info_v0_t data) |
template<typename ArchiveT > | |
void | cereal::save (ArchiveT &ar, rocprofiler_record_dimension_info_t data) |
template<typename ArchiveT , typename EnumT , typename ValueT > | |
void | cereal::save (ArchiveT &ar, const rocprofiler::sdk::utility::name_info< EnumT, ValueT > &data) |
template<typename ArchiveT , typename EnumT , typename ValueT > | |
void | cereal::save (ArchiveT &ar, const rocprofiler::sdk::utility::name_info_impl< EnumT, ValueT > &data) |
Macro Definition Documentation
◆ ROCP_SDK_SAVE_DATA_BITFIELD
#define ROCP_SDK_SAVE_DATA_BITFIELD | ( | NAME, | |
VALUE | |||
) |
Value:
{ \
auto _val = data.VALUE; \
ar(make_nvp(NAME, _val)); \
}
Definition at line 68 of file serialization.hpp.
69 { \
70 auto _val = data.VALUE; \
71 ar(make_nvp(NAME, _val)); \
72 }
◆ ROCP_SDK_SAVE_DATA_CSTR
#define ROCP_SDK_SAVE_DATA_CSTR | ( | FIELD | ) | ar(make_nvp(#FIELD, std::string{data.FIELD ? data.FIELD : ""})) |
Definition at line 66 of file serialization.hpp.
67 {data.FIELD ? data.FIELD : ""}))
◆ ROCP_SDK_SAVE_DATA_FIELD
#define ROCP_SDK_SAVE_DATA_FIELD | ( | FIELD | ) | ar(make_nvp(#FIELD, data.FIELD)) |
Definition at line 64 of file serialization.hpp.
◆ ROCP_SDK_SAVE_DATA_VALUE
#define ROCP_SDK_SAVE_DATA_VALUE | ( | NAME, | |
VALUE | |||
) | ar(make_nvp(NAME, data.VALUE)) |
Definition at line 65 of file serialization.hpp.
◆ ROCPROFILER_SDK_CEREAL_NAMESPACE_BEGIN
#define ROCPROFILER_SDK_CEREAL_NAMESPACE_BEGIN |
Value:
Definition at line 75 of file serialization.hpp.
77 {
◆ ROCPROFILER_SDK_CEREAL_NAMESPACE_END
#define ROCPROFILER_SDK_CEREAL_NAMESPACE_END } |
Definition at line 81 of file serialization.hpp.
Generated by 1.9.8