summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-10-14 19:22:23 +0200
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-10-14 19:22:23 +0200
commit606b164146fa46d8ea00281102520662a533af0f (patch)
treed5bb6e8f46c5393821b6bc859f3c05a10e7a6246
parentc416f42d5823ff0af5c5198c52ab5ee35fec0633 (diff)
downloadvdr-plugin-dxr3-606b164146fa46d8ea00281102520662a533af0f.tar.gz
vdr-plugin-dxr3-606b164146fa46d8ea00281102520662a533af0f.tar.bz2
remove debug class cTime
-rw-r--r--dxr3osd.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/dxr3osd.c b/dxr3osd.c
index 1e09c02..c3031b6 100644
--- a/dxr3osd.c
+++ b/dxr3osd.c
@@ -32,35 +32,6 @@ cOsd *cDxr3OsdProvider::CreateOsd(int Left, int Top, uint Level)
return new cDxr3Osd(Left, Top, Level);
}
-// Enables some time measure debugging code
-// (taken from the osdteletext plugin, thanks folks)
-#ifdef timingdebug
-#include <sys/timeb.h>
-class cTime
-{
- // Debugging: Simple class to measure time
- timeb start;
-public:
- void Start()
- {
- ftime(&start);
- }
- void Stop(char *txt)
- {
- timeb t;
- ftime(&t);
- int s = t.time-start.time;
- int ms = t.millitm - start.millitm;
- if (ms<0)
- {
- s--;
- ms += 1000;
- }
- printf("%s: %i.%03i\n", txt, s, ms);
- }
-};
-#endif
-
// ==================================
//! constructor
cDxr3Osd::cDxr3Osd(int Left, int Top, uint Level)