diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 47d455dd55be855e4cc691c32f687f723d9247ee (patch) | |
tree | 52e236aaa2576bdb3840ebede26619692fed6d7d /kdvi/performanceMeasurement.h | |
download | tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdvi/performanceMeasurement.h')
-rw-r--r-- | kdvi/performanceMeasurement.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kdvi/performanceMeasurement.h b/kdvi/performanceMeasurement.h new file mode 100644 index 00000000..b6cb46c7 --- /dev/null +++ b/kdvi/performanceMeasurement.h @@ -0,0 +1,21 @@ +// -*- 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 |