aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-10-08 18:11:30 +0000
committerGerald Combs <gerald@wireshark.org>2012-10-08 18:11:30 +0000
commit4f1eb84444a5f4392581bf9c3d1825af8c7526d9 (patch)
treec5667354bbfaef56948c37e02fe45f83bef44f67 /file.c
parent3e602ee28197afada5e66985bd650e2d6b91b475 (diff)
Log the time we spend waiting for the capture child to exit.
Add breadcrumbs so that we can switch from g_get_current_time to g_get_real_time when our minimum GLib version is >= 2.28. svn path=/trunk/; revision=45399
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/file.c b/file.c
index c63e5c035c..46c48885de 100644
--- a/file.c
+++ b/file.c
@@ -258,6 +258,10 @@ static void reset_elapsed(void)
computed_elapsed = 0;
}
+/*
+ * GLIB_CHECK_VERSION(2,28,0) adds g_get_real_time which could minimize or
+ * replace this
+ */
static void compute_elapsed(GTimeVal *start_time)
{
gdouble delta_time;