libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::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::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 191 of file thread_statistics.hpp.

Member Typedef Documentation

◆ atomic_t

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

Definition at line 195 of file thread_statistics.hpp.

◆ container_type

template<class OST >
typedef int jmmcg::ppd::no_control_flow_graph< OST >::container_type

Definition at line 198 of file thread_statistics.hpp.

◆ edge_annotation_t

template<class OST >
typedef char jmmcg::ppd::no_control_flow_graph< OST >::edge_annotation_t

Definition at line 197 of file thread_statistics.hpp.

◆ edge_t

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

Definition at line 200 of file thread_statistics.hpp.

◆ lock_traits

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

Definition at line 194 of file thread_statistics.hpp.

◆ node_property_t

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

Definition at line 196 of file thread_statistics.hpp.

◆ os_traits

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

Definition at line 193 of file thread_statistics.hpp.

◆ vertex_t

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

Definition at line 199 of file thread_statistics.hpp.

Constructor & Destructor Documentation

◆ no_control_flow_graph() [1/2]

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

Definition at line 207 of file thread_statistics.hpp.

◆ no_control_flow_graph() [2/2]

template<class OST >
jmmcg::ppd::no_control_flow_graph< OST >::no_control_flow_graph ( no_control_flow_graph< OST > const &  )
delete

Member Function Documentation

◆ write_graphviz()

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

Definition at line 210 of file thread_statistics.hpp.

Member Data Documentation

◆ hrz_edge_annotation

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

Definition at line 203 of file thread_statistics.hpp.

◆ sequential_edge_annotation

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

Definition at line 205 of file thread_statistics.hpp.

◆ vertical_edge_annotation

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

Definition at line 204 of file thread_statistics.hpp.


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