Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Fun4AllMonitoring.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Fun4AllMonitoring.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FUN4ALL_FUN4ALLMONITORING_H
4
#define FUN4ALL_FUN4ALLMONITORING_H
5
6
#include "
Fun4AllBase.h
"
7
8
#include <cstdint>
9
#include <string>
10
11
class
Fun4AllMonitoring
:
public
Fun4AllBase
12
{
13
public
:
14
static
Fun4AllMonitoring
*
instance
()
15
{
16
if
(
mInstance
)
return
mInstance
;
17
mInstance
=
new
Fun4AllMonitoring
();
18
return
mInstance
;
19
}
20
~Fun4AllMonitoring
()
override
=
default
;
21
void
Snapshot
(
const
std::string
&what =
"AfterProcessEvent"
);
22
23
void
PrintsMaps
()
const
;
24
25
void
Get_Memory
();
26
void
OutFileName
(
const
std::string
&
fname
);
27
28
private
:
29
Fun4AllMonitoring
();
30
static
Fun4AllMonitoring
*
mInstance
;
31
uint64_t
mEvent
= 0;
32
uint64_t
mHeapPss
= 0;
33
uint64_t
mMMapPSS
= 0;
34
uint64_t
mOtherPss
= 0;
35
std::string
mOutFileName
;
36
};
37
38
#endif
coresoftware
blob
master
offline
framework
fun4all
Fun4AllMonitoring.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration