LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MemoryTrackerDarwin_service.cc
Go to the documentation of this file.
1
// ======================================================================
2
//
3
// MemoryTrackerDarwin
4
//
5
// ======================================================================
6
7
#include "
art/Framework/Services/Registry/ServiceDeclarationMacros.h
"
8
#include "
art/Framework/Services/Registry/ServiceDefinitionMacros.h
"
9
#include "
messagefacility/MessageLogger/MessageLogger.h
"
10
11
namespace
fhicl
{
12
class
ParameterSet;
13
}
14
15
namespace
art
{
16
17
class
MemoryTracker
{
18
public
:
19
static
constexpr
bool
service_handle_allowed{
false
};
20
21
MemoryTracker
(
fhicl::ParameterSet
const
&)
22
{
23
mf::LogAbsolute
(
"MemoryTracker"
)
24
<<
'\n'
25
<<
"The MemoryTracker service is not supported for this operating "
26
"system.\n"
27
<<
"If desired, please log an issue with:\n\n"
28
<<
"https://cdcvs.fnal.gov/redmine/projects/cet-is/issues/new\n\n"
;
29
}
30
};
31
}
// namespace art
32
33
DECLARE_ART_SERVICE
(
art::MemoryTracker
,
SHARED
)
34
DEFINE_ART_SERVICE
(
art::MemoryTracker
)
art::MemoryTracker::MemoryTracker
MemoryTracker(fhicl::ParameterSet const &)
Definition:
MemoryTrackerDarwin_service.cc:21
MessageLogger.h
ServiceDeclarationMacros.h
DECLARE_ART_SERVICE
#define DECLARE_ART_SERVICE(svc, scope)
Definition:
ServiceDeclarationMacros.h:77
fhicl
parameter set interface
Definition:
BeamFlashTrackMatchTaggerAlg.h:17
art::MemoryTracker
Definition:
MemoryTrackerDarwin_service.cc:17
DEFINE_ART_SERVICE
#define DEFINE_ART_SERVICE(svc)
Definition:
ServiceDefinitionMacros.h:36
ServiceDefinitionMacros.h
art
Definition:
MVAAlg.h:12
mf::LogAbsolute
MaybeLogger_< ELseverityLevel::ELsev_severe, true > LogAbsolute
Definition:
MessageLogger.h:219
art::ServiceScope::SHARED
fhicl::ParameterSet
Definition:
ParameterSet.h:36
art
Framework
Services
Optional
MemoryTrackerDarwin_service.cc
Generated on Thu May 2 2024 20:59:29 for LArSoft by
1.8.11