dlogutil : check elapsed time by comparing both ends 28/92628/3
authorKichan Kwon <k_c.kwon@samsung.com>
Mon, 17 Oct 2016 15:37:05 +0000 (00:37 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Mon, 17 Oct 2016 22:34:22 +0000 (07:34 +0900)
commitcc1c4ef911e195a9679c6c892d38a89a2e20a64f
treed44447a83ffbb630653441bcd1676d037cb68000
parentbe9544420f6b3c74dc532e97cabdcde493fc94e4
dlogutil : check elapsed time by comparing both ends

- Pipe backend uses clock_gettime and Logger backend uses current_kernel_time
- Because dlogutil uses clock_gettime, it can't check elapsed time at the Logger backend
- Therefore, for portability, dlogutil doesn't record current time

- To prevent underflow, use long variables

Change-Id: I32a11e8518526e24953a5dcd414b8c634ad3d778
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
src/logutil/logutil.c