STIR
6.4.0
STIR
src
include
stir
CPUTimer.h
Go to the documentation of this file.
1
//
2
//
14
/*
15
Copyright (C) 2000 PARAPET partners
16
Copyright (C) 2000- 2009, Hammersmith Imanet Ltd
17
This file is part of STIR.
18
19
SPDX-License-Identifier: Apache-2.0 AND License-ref-PARAPET-license
20
21
See STIR/LICENSE.txt for details
22
*/
23
#ifndef __CPUTimer_H__
24
#define __CPUTimer_H__
25
26
#include "
stir/Timer.h
"
27
START_NAMESPACE_STIR
28
87
// TODO do Win95 test
88
/*
89
History:
90
1.0 by Kris Thielemans
91
1.1 by Kris Thielemans
92
use times() and GetProcessTimes()
93
1.2 by Kris Thielemans
94
moved inlines to separate file
95
*/
96
class
CPUTimer
:
public
Timer
97
{
98
private
:
99
inline
double
get_current_value()
const override
;
100
};
101
102
END_NAMESPACE_STIR
103
104
#include "
stir/CPUTimer.inl
"
105
106
#endif
// __CPUTimer_H__
CPUTimer.inl
inline implementations for stir::CPUTimer
Timer.h
This declares the stir::Timer class.
stir::CPUTimer
A class for measuring elapsed CPU time.
Definition
CPUTimer.h:97
Generated on Wed May 27 2026 17:04:05 for STIR by
1.13.2