]> git.donarmstrong.com Git - lilypond.git/blob - flower/include/cpu-timer.hh
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / flower / include / cpu-timer.hh
1 /*
2   cpu-timer.hh -- declare Cpu_timer
3
4   source file of the Flower Library
5
6   (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef CPU_TIMER_HH
10 #define CPU_TIMER_HH
11
12 #include <ctime>
13 using namespace std;
14
15 #include "real.hh"
16
17 class Cpu_timer
18 {
19   clock_t start_clock_;
20 public:
21   Cpu_timer ();
22   void restart ();
23   Real read ();
24 };
25
26 #endif // CPU_TIMER_HH