summaryrefslogtreecommitdiff
path: root/libcore
diff options
context:
space:
mode:
authorManuel Reimer <manuel.reimer@gmx.de>2014-11-02 18:38:22 +0100
committerManuel Reimer <manuel.reimer@gmx.de>2014-11-02 18:38:22 +0100
commite519aa7d75958e118112f2e8fb7121cda12e09a7 (patch)
tree72bb2de5bb91c944d4a232c307e67ee4061821cc /libcore
parent9511982fdd6f8a5e3e045e824b85d0e9998e6e0d (diff)
parent037e8e0cb128734a447d472ea2345eea02ee65b6 (diff)
downloadvdr-plugin-skindesigner-e519aa7d75958e118112f2e8fb7121cda12e09a7.tar.gz
vdr-plugin-skindesigner-e519aa7d75958e118112f2e8fb7121cda12e09a7.tar.bz2
Fixed merge error
Diffstat (limited to 'libcore')
-rw-r--r--libcore/helpers.c5
-rw-r--r--libcore/helpers.h2
2 files changed, 5 insertions, 2 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) {
diff --git a/libcore/helpers.h b/libcore/helpers.h
index 2a92efb..abfae6d 100644
--- a/libcore/helpers.h
+++ b/libcore/helpers.h
@@ -33,7 +33,7 @@ private:
uint64_t start;
uint64_t last;
public:
- cStopWatch(void);
+ cStopWatch(const char* message = NULL);
~cStopWatch(void) {};
void Report(const char* message);
void Stop(const char* message);