From 47d455dd55be855e4cc691c32f687f723d9247ee Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: 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 --- kdvi/performanceMeasurement.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 kdvi/performanceMeasurement.h (limited to 'kdvi/performanceMeasurement.h') 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 + +// 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 -- cgit v1.2.3