From 606b164146fa46d8ea00281102520662a533af0f Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 14 Oct 2009 19:22:23 +0200 Subject: remove debug class cTime --- dxr3osd.c | 29 ----------------------------- 1 file changed, 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 -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) -- cgit v1.2.3