ttg
1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
ttg
ttg
util
diagnose.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSD-3-Clause
2
#ifndef TTG_DIAGNOSE_H
3
#define TTG_DIAGNOSE_H
4
5
namespace
ttg
{
6
namespace
detail {
7
inline
bool
&
diagnose_accessor
() {
8
static
bool
diagnose
=
true
;
9
return
diagnose
;
10
}
11
}
// namespace detail
12
13
inline
bool
diagnose
() {
return
detail::diagnose_accessor
(); }
14
inline
void
diagnose_on
() {
detail::diagnose_accessor
() =
true
; }
15
inline
void
diagnose_off
() {
detail::diagnose_accessor
() =
false
; }
16
17
}
// namespace ttg
18
19
#endif
// TTG_DIAGNOSE_H
ttg::detail::diagnose_accessor
bool & diagnose_accessor()
Definition
diagnose.h:7
ttg
top-level TTG namespace contains runtime-neutral functionality
Definition
keymap.h:9
ttg::diagnose_on
void diagnose_on()
Definition
diagnose.h:14
ttg::diagnose
bool diagnose()
Definition
diagnose.h:13
ttg::diagnose_off
void diagnose_off()
Definition
diagnose.h:15
Generated at Mon Nov 24 2025 13:41:21 for
ttg
1.0.0 by
1.9.8