Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
canvas
canvas
Utilities
DebugMacros.cc
Go to the documentation of this file.
1
#include "
canvas/Utilities/DebugMacros.h
"
2
// vim: set sw=2 expandtab :
3
4
#include <cstdlib>
5
6
namespace
art
{
7
8
DebugValue::DebugValue
()
9
{
10
cvalue_
=
getenv
(
"PROC_DEBUG"
);
11
value_
= (
cvalue_
.load() ==
nullptr
) ? 0 : atoi(
cvalue_
.load());
12
}
13
14
DebugValue
debugit
;
15
16
}
// namespace art
art::DebugValue
Definition:
DebugMacros.h:9
art::debugit
DebugValue debugit
Definition:
DebugMacros.cc:14
art::DebugValue::DebugValue
DebugValue()
Definition:
DebugMacros.cc:8
art::DebugValue::cvalue_
std::atomic< char const * > cvalue_
Definition:
DebugMacros.h:18
cet::getenv
std::string getenv(std::string const &name)
Definition:
getenv.cc:15
art::DebugValue::value_
std::atomic< int > value_
Definition:
DebugMacros.h:19
art
Definition:
BasicOptionsHandler.h:9
DebugMacros.h
Generated by
1.8.11