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.
tim::component::empty_base Struct Reference

A very lightweight base which provides no storage. More...

#include "timemory/components/base/declaration.hpp"

+ Collaboration diagram for tim::component::empty_base:

Public Types

using storage_type = empty_storage
 
using base_type = void
 

Public Member Functions

void get () const
 

Static Public Member Functions

template<typename... Args>
static opaque get_opaque (Args &&...)
 

Detailed Description

A very lightweight base which provides no storage.

Definition at line 64 of file declaration.hpp.

Member Typedef Documentation

◆ base_type

Definition at line 67 of file declaration.hpp.

◆ storage_type

Member Function Documentation

◆ get()

void tim::component::empty_base::get ( ) const
inline

Definition at line 69 of file declaration.hpp.

69{}

◆ get_opaque()

template<typename... Args>
static opaque tim::component::empty_base::get_opaque ( Args &&  ...)
inlinestatic

Definition at line 72 of file declaration.hpp.

73 {
74 return opaque{};
75 }

The documentation for this struct was generated from the following file: