ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSpectrometer
MuonDetDescr
MuonGeoModelTest
MuonGeoModelTest
PerfUtils.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef _PERFUTILS_H_
6
#define _PERFUTILS_H_
7
8
// This is a collection of performance utilities used to
9
// benchmark the GeoModel. Currently it includes a routine
10
// to fetch the current memory consumption in kilobytes and
11
// a routine to fetch the current CPU consumption in jiffies.
12
//
13
// Joe Boudreau March 2005.
14
15
class
PerfUtils
{
16
public
:
17
// Get the current Memory Usage (kbytes);
18
static
int
getMem
();
19
20
// Get the current CPU Usage (jiffies= 1/100th of a second):
21
static
void
getCpu
(
int
& uTime,
int
& sTime);
22
};
23
24
#endif
getCpu
int getCpu()
Definition
SingleTrackValidation.cxx:53
PerfUtils
Definition
PerfUtils.h:15
PerfUtils::getMem
static int getMem()
Definition
PerfUtils.cxx:17
Generated on
for ATLAS Offline Software by
1.14.0