]> git.donarmstrong.com Git - lilypond.git/blob - flower/include/cpu-timer.hh
release: 0.1.61
[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--1998 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef CPU_TIMER_HH
11 #define CPU_TIMER_HH
12
13 #include <time.h>
14 #include "real.hh"
15
16 class Cpu_timer {
17   clock_t start_clock_;
18 public:
19   Cpu_timer ();
20   void restart ();
21   Real read ();
22 };
23
24 #endif // CPU_TIMER_HH