summaryrefslogtreecommitdiffstats
path: root/kdvi/performanceMeasurement.h
blob: d9f82e168784a42421e760c2903fd2ee171780ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//#define PERFORMANCE_MEASUREMENT

#ifdef PERFORMANCE_MEASUREMENT
#include <tqdatetime.h>

// This is the central timer used for performance measurement. It is
// set to zero and started when the kdvi_multipage is
// constructed. This object is statically defined in
// kdvi_multipage.cpp.
extern TQTime performanceTimer;

// A flag that is set to true once the first page of the document was
// successfully drawn. This object is statically defined in
// kdvi_multipage.cpp.
// 0 = initial value
// 1 = first page was drawn
// 2 = last page was drawn
extern int performanceFlag;
#endif