aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-debug.c')
-rw-r--r--lib/ephy-debug.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ephy-debug.c b/lib/ephy-debug.c
index 4f59c936e..a0f2929af 100644
--- a/lib/ephy-debug.c
+++ b/lib/ephy-debug.c
@@ -137,16 +137,15 @@ ephy_should_profile (const char *module)
static void
ephy_profiler_dump (EphyProfiler *profiler)
{
- long elapsed;
double seconds;
g_return_if_fail (profiler != NULL);
- seconds = g_timer_elapsed (profiler->timer, &elapsed);
+ seconds = g_timer_elapsed (profiler->timer, NULL);
- g_print ("[ %s ] %s %ld ms (%f s) elapsed\n",
+ g_print ("[ %s ] %s %f s elapsed\n",
profiler->module, profiler->name,
- elapsed / (G_USEC_PER_SEC / 1000), seconds);
+ seconds);
}
static void