mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-13 03:12:22 +00:00
5b40d68f24
svn path=/trunk/kdegraphics/kdvi/; revision=218683
21 lines
586 B
C
21 lines
586 B
C
|
|
//#define PERFORMANCE_MEASUREMENT
|
|
|
|
#ifdef PERFORMANCE_MEASUREMENT
|
|
#include <qdatetime.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 QTime 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
|