okular/performanceMeasurement.h
Angus Leeming 9154aba7e4 More info to emacs on how to retain the current style.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=488778
2005-12-15 21:34:10 +00:00

22 lines
667 B
C

// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*-
//#define PERFORMANCE_MEASUREMENT
#ifdef PERFORMANCE_MEASUREMENT
#include <QDateTime>
// 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