Classes | Namespaces | Macros
TaskDebugMacros.h File Reference
#include "art/Utilities/ScheduleID.h"
#include "hep_concurrency/tsan.h"
#include <atomic>
#include <iostream>
#include <sstream>
#include <string>

Go to the source code of this file.

Classes

struct  art::DebugTasksValue
 
class  art::detail::MessageAccumulator
 

Namespaces

 art
 
 art::detail
 

Macros

#define TDEBUG(LEVEL)
 
#define TDEBUG_BEGIN_FUNC_SI(LEVEL, SI)
 
#define TDEBUG_END_FUNC_SI(LEVEL, SI)
 
#define TDEBUG_FUNC_SI(LEVEL, SI)
 
#define TDEBUG_FUNC(LEVEL)
 
#define TDEBUG_TASK_SI(LEVEL, SI)
 
#define TDEBUG_TASK(LEVEL)
 
#define TDEBUG_BEGIN_TASK_SI(LEVEL, SI)
 
#define TDEBUG_END_TASK_SI(LEVEL, SI)
 

Macro Definition Documentation

#define TDEBUG (   LEVEL)
Value:
if ((LEVEL) <= art::debugTasks()) \
std::cerr
DebugTasksValue debugTasks

Definition at line 55 of file TaskDebugMacros.h.

#define TDEBUG_BEGIN_FUNC_SI (   LEVEL,
  SI 
)
Value:
if ((LEVEL) <= art::debugTasks()) \
art::detail::MessageAccumulator( \
'-', __func__, __PRETTY_FUNCTION__, SI, "Begin")
DebugTasksValue debugTasks

Definition at line 59 of file TaskDebugMacros.h.

#define TDEBUG_BEGIN_TASK_SI (   LEVEL,
  SI 
)
Value:
if ((LEVEL) <= art::debugTasks()) \
art::detail::MessageAccumulator( \
'=', __func__, __PRETTY_FUNCTION__, SI, "Begin")
DebugTasksValue debugTasks

Definition at line 84 of file TaskDebugMacros.h.

#define TDEBUG_END_FUNC_SI (   LEVEL,
  SI 
)
Value:
if ((LEVEL) <= art::debugTasks()) \
art::detail::MessageAccumulator('-', __func__, __PRETTY_FUNCTION__, SI, "End")
DebugTasksValue debugTasks

Definition at line 64 of file TaskDebugMacros.h.

#define TDEBUG_END_TASK_SI (   LEVEL,
  SI 
)
Value:
if ((LEVEL) <= art::debugTasks()) \
art::detail::MessageAccumulator('=', __func__, __PRETTY_FUNCTION__, SI, "End")
DebugTasksValue debugTasks

Definition at line 89 of file TaskDebugMacros.h.

#define TDEBUG_FUNC (   LEVEL)
Value:
if ((LEVEL) <= art::debugTasks()) \
art::detail::MessageAccumulator('-', __func__, __PRETTY_FUNCTION__)
DebugTasksValue debugTasks

Definition at line 72 of file TaskDebugMacros.h.

#define TDEBUG_FUNC_SI (   LEVEL,
  SI 
)
Value:
if ((LEVEL) <= art::debugTasks()) \
art::detail::MessageAccumulator('-', __func__, __PRETTY_FUNCTION__, SI)
DebugTasksValue debugTasks

Definition at line 68 of file TaskDebugMacros.h.

#define TDEBUG_TASK (   LEVEL)
Value:
if ((LEVEL) <= art::debugTasks()) \
art::detail::MessageAccumulator('=', __func__, __PRETTY_FUNCTION__)
DebugTasksValue debugTasks

Definition at line 80 of file TaskDebugMacros.h.

#define TDEBUG_TASK_SI (   LEVEL,
  SI 
)
Value:
if ((LEVEL) <= art::debugTasks()) \
art::detail::MessageAccumulator('=', __func__, __PRETTY_FUNCTION__, SI)
DebugTasksValue debugTasks

Definition at line 76 of file TaskDebugMacros.h.