diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-02 15:59:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-02 15:59:39 +0100 |
| commit | 9fdcacab9988f4cc5d44a6fab3ab294f5005f468 (patch) | |
| tree | 9ccdecab51f784b4b6a40bf9d40834a51c67f5fa /src/lib/util.h | |
| parent | fc09f6798fc05d100e6a5fbf3e9b1f811be0ef46 (diff) | |
Tidy up timing code a bit.
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h index bc5a00fc4..8d98437af 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -34,6 +34,13 @@ extern "C" { #include <libavfilter/avfilter.h> } +#ifdef DVDOMATIC_DEBUG +#include "compose.hpp" +#define TIMING(...) _log->microsecond_log (String::compose (__VA_ARGS__), Log::TIMING); +#else +#define TIMING(...) +#endif + class Scaler; extern std::string seconds_to_hms (int); |
