STIR 6.4.0
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"
27START_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*/
96class CPUTimer : public Timer
97{
98private:
99 inline double get_current_value() const override;
100};
101
102END_NAMESPACE_STIR
103
104#include "stir/CPUTimer.inl"
105
106#endif // __CPUTimer_H__
inline implementations for stir::CPUTimer
This declares the stir::Timer class.
A class for measuring elapsed CPU time.
Definition CPUTimer.h:97