libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST > Class Template Reference

A dummy class to not generate a Control Flow Graph (CFG), and hopefully and hopefully all calls will be optimised out, so there should be no cost. More...

#include <thread_statistics.hpp>

Classes

class  add_cfg_details
 

Public Types

typedef OST os_traits
 
typedef os_traits::lock_traits lock_traits
 
typedef lock_traits::recursive_critical_section_type atomic_t
 
typedef std::string node_property_t
 
typedef char edge_annotation_t
 
typedef int container_type
 
typedef int vertex_t
 
typedef int edge_t
 

Public Member Functions

constexpr no_control_flow_graph () noexcept(true) FORCE_INLINE
 
 no_control_flow_graph (no_control_flow_graph const &)=delete
 

Static Public Member Functions

static void write_graphviz (std::ostream &) noexcept(true) FORCE_INLINE
 

Static Public Attributes

constexpr static edge_annotation_t hrz_edge_annotation ='?'
 
constexpr static edge_annotation_t vertical_edge_annotation ='?'
 
constexpr static edge_annotation_t sequential_edge_annotation ='?'
 

Detailed Description

template<class OST>
class jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >

A dummy class to not generate a Control Flow Graph (CFG), and hopefully and hopefully all calls will be optimised out, so there should be no cost.

See also
control_flow_graph

Definition at line 156 of file thread_statistics.hpp.

Member Typedef Documentation

◆ atomic_t

template<class OST >
typedef lock_traits::recursive_critical_section_type jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::atomic_t

Definition at line 160 of file thread_statistics.hpp.

◆ container_type

Definition at line 163 of file thread_statistics.hpp.

◆ edge_annotation_t

Definition at line 162 of file thread_statistics.hpp.

◆ edge_t

template<class OST >
typedef int jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::edge_t

Definition at line 165 of file thread_statistics.hpp.

◆ lock_traits

template<class OST >
typedef os_traits::lock_traits jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::lock_traits

Definition at line 159 of file thread_statistics.hpp.

◆ node_property_t

template<class OST >
typedef std::string jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::node_property_t

Definition at line 161 of file thread_statistics.hpp.

◆ os_traits

template<class OST >
typedef OST jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::os_traits

Definition at line 158 of file thread_statistics.hpp.

◆ vertex_t

template<class OST >
typedef int jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::vertex_t

Definition at line 164 of file thread_statistics.hpp.

Constructor & Destructor Documentation

◆ no_control_flow_graph() [1/2]

template<class OST >
constexpr jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::no_control_flow_graph ( )
inlineconstexprnoexcept

Definition at line 172 of file thread_statistics.hpp.

◆ no_control_flow_graph() [2/2]

Member Function Documentation

◆ write_graphviz()

template<class OST >
static void jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::write_graphviz ( std::ostream &  )
inlinestaticnoexcept

Definition at line 175 of file thread_statistics.hpp.

Member Data Documentation

◆ hrz_edge_annotation

template<class OST >
constexpr static edge_annotation_t jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::hrz_edge_annotation ='?'
staticconstexpr

Definition at line 168 of file thread_statistics.hpp.

◆ sequential_edge_annotation

template<class OST >
constexpr static edge_annotation_t jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::sequential_edge_annotation ='?'
staticconstexpr

Definition at line 170 of file thread_statistics.hpp.

◆ vertical_edge_annotation

template<class OST >
constexpr static edge_annotation_t jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::no_control_flow_graph< OST >::vertical_edge_annotation ='?'
staticconstexpr

Definition at line 169 of file thread_statistics.hpp.


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