repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix InstrumentSwitch grob definition.
[lilypond.git]
/
flower
/
include
/
cpu-timer.hh
blob
01383b5edb85cc04f11563e187bb0a7ae485cfc0
1
/*
2
cpu-timer.hh -- declare Cpu_timer
3
4
source file of the Flower Library
5
6
(c) 1997--2007 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