summaryrefslogtreecommitdiff
path: root/src/util/media-thumb-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/media-thumb-debug.c')
-rwxr-xr-xsrc/util/media-thumb-debug.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/util/media-thumb-debug.c b/src/util/media-thumb-debug.c
index 9515505..f293afd 100755
--- a/src/util/media-thumb-debug.c
+++ b/src/util/media-thumb-debug.c
@@ -88,25 +88,21 @@ void thumb_print_debug_time(char *time_string)
double totaltime = 0.0;
gettimeofday(&time, NULL);
- totaltime =
- (double)(time.tv_sec * 1000000 + time.tv_usec -
- g_time_usec) / CLOCKS_PER_SEC;
+ totaltime = (double)(time.tv_sec * 1000000 + time.tv_usec - g_time_usec) / CLOCKS_PER_SEC;
thumb_dbg("time [%s] : %f", time_string, totaltime);
#endif
}
void
-thumb_print_debug_time_ex(long start, long end, const char *func_name,
- char *time_string)
+thumb_print_debug_time_ex(long start, long end, const char *func_name, char *time_string)
{
#ifdef _PERFORMANCE_CHECK_
double totaltime = 0.0;
totaltime = (double)(end - start) / CLOCKS_PER_SEC;
- thumb_dbg("time [%s: %s] : %f", func_name, time_string,
- totaltime);
+ thumb_dbg("time [%s: %s] : %f", func_name, time_string, totaltime);
#endif
}
#endif \ No newline at end of file