From: Jinhyung Choi Date: Fri, 3 Jan 2014 03:23:27 +0000 (+0900) Subject: ecs LOGS: replace from __TIME__ to get_timeofday() to print time for X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~524^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c41bf343c939052e508327a7f33edbdfe8708cd;p=sdk%2Femulator%2Fqemu.git ecs LOGS: replace from __TIME__ to get_timeofday() to print time for logging Change-Id: Ieeb88fa14cd817ff3b16efee4264503232eba215 Signed-off-by: Jinhyung Choi --- diff --git a/tizen/src/ecs/ecs.h b/tizen/src/ecs/ecs.h index 7be06d85fa..f27734c82c 100644 --- a/tizen/src/ecs/ecs.h +++ b/tizen/src/ecs/ecs.h @@ -40,6 +40,7 @@ #include "ecs-json-streamer.h" #include "genmsg/ecs.pb-c.h" #include "genmsg/ecs_ids.pb-c.h" +#include "../osutil.h" #define ECS_VERSION "1.0" @@ -48,7 +49,7 @@ #ifdef ECS_DEBUG #define LOG(fmt, arg...) \ do { \ - fprintf(stdout,"[%s-%s:%d] "fmt"\n", __TIME__, __FUNCTION__, __LINE__, ##arg); \ + fprintf(stdout,"[%s-%s:%d] "fmt"\n", get_timeofday(), __FUNCTION__, __LINE__, ##arg); \ } while (0) #else #define LOG(fmt, arg...)