diff options
| author | louis <louis.braun@gmx.de> | 2014-11-02 17:32:22 +0100 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2014-11-02 17:32:22 +0100 |
| commit | 037e8e0cb128734a447d472ea2345eea02ee65b6 (patch) | |
| tree | 032714a0f749d486aa65d0444251154b864970dc /libcore/helpers.c | |
| parent | ef4502cc02b4a1b287b6710826f04f953fd4691b (diff) | |
| download | vdr-plugin-skindesigner-037e8e0cb128734a447d472ea2345eea02ee65b6.tar.gz vdr-plugin-skindesigner-037e8e0cb128734a447d472ea2345eea02ee65b6.tar.bz2 | |
call drawdevices only every 500ms, added profiling code
Diffstat (limited to 'libcore/helpers.c')
| -rw-r--r-- | libcore/helpers.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcore/helpers.c b/libcore/helpers.c index 4ca2272..4da97f7 100644 --- a/libcore/helpers.c +++ b/libcore/helpers.c @@ -167,9 +167,12 @@ vector<string>& splitstring::split(char delim, int rep) { return flds; } -cStopWatch::cStopWatch(void) { +cStopWatch::cStopWatch(const char* message) { start = cTimeMs::Now(); last = start; + if (message) { + dsyslog("skindesigner: Starting StopWatch %s", message); + } } void cStopWatch::Report(const char* message) { |
