diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-10-14 19:22:23 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-10-14 19:22:23 +0200 |
commit | 606b164146fa46d8ea00281102520662a533af0f (patch) | |
tree | d5bb6e8f46c5393821b6bc859f3c05a10e7a6246 | |
parent | c416f42d5823ff0af5c5198c52ab5ee35fec0633 (diff) | |
download | vdr-plugin-dxr3-606b164146fa46d8ea00281102520662a533af0f.tar.gz vdr-plugin-dxr3-606b164146fa46d8ea00281102520662a533af0f.tar.bz2 |
remove debug class cTime
-rw-r--r-- | dxr3osd.c | 29 |
1 files changed, 0 insertions, 29 deletions
@@ -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) |