From e1509315bd1037225747ee9e1c07fae2334e8bdf Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Wed, 16 Jan 2013 12:03:40 +0100 Subject: [PATCH] src/gui/update_ext.h: supplement to 76a0ef0797da362cd58481d26697bc576f358c6f Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/30436f353dacf9caaddb1aec45a3e8159b2aa187 Author: Jacek Jendrzej Date: 2013-01-16 (Wed, 16 Jan 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/update_ext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/update_ext.h b/src/gui/update_ext.h index 2999c9fa2..d327fab24 100644 --- a/src/gui/update_ext.h +++ b/src/gui/update_ext.h @@ -98,14 +98,14 @@ static unsigned int timer_msec; #define DBG_TIMER_STOP(label) \ gettimeofday(&timer_tv2, NULL); \ timer_msec = ((timer_tv2.tv_sec - timer_tv.tv_sec) * 1000) + ((timer_tv2.tv_usec - timer_tv.tv_usec) / 1000); \ - printf("##### [ext_update.cpp] %s: %u msec\n", label, timer_msec); + printf("##### [%s] %s: %u msec\n", __FILE__, label, timer_msec); #else #define DBG_TIMER_START() #define DBG_TIMER_STOP(label) #endif // UPDATE_DEBUG_TIMER #ifdef UPDATE_DEBUG -#define DBG_MSG(fmt, args...) printf("#### [ext_update.cpp:%s:%d] " fmt "\n", __FUNCTION__, __LINE__ , ## args); +#define DBG_MSG(fmt, args...) printf("#### [%s:%s:%d] " fmt "\n", __FILE__, __FUNCTION__, __LINE__ , ## args); #else #define DBG_MSG(fmt, args...) #endif // UPDATE_DEBUG