ATLAS Offline Software
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
PerfUtils::getCpu
static void getCpu(int &uTime, int &sTime)
Definition:
PerfUtils.cxx:39
PerfUtils
Definition:
PerfUtils.h:15
PerfUtils::getMem
static int getMem()
Definition:
PerfUtils.cxx:17
Generated on Mon Jul 8 2024 21:24:04 for ATLAS Offline Software by
1.8.18