summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-11-21 11:27:23 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-11-21 11:27:46 +0100
commit40dfbd00ae5dcb775b5a812c5449abeae7584697 (patch)
treec1ec4ab39d183aacb276bff9affa989b10077c6d
parent450a8884a24b397d9d8c4e0de9f1a969c1efc445 (diff)
Revert "ufo-launch: print process frequency"
The output is a bit unreliable in a multi GPU environment.
-rw-r--r--bin/ufo-launch.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/bin/ufo-launch.c b/bin/ufo-launch.c
index ca0d941..a9ef803 100644
--- a/bin/ufo-launch.c
+++ b/bin/ufo-launch.c
@@ -483,20 +483,7 @@ static void
progress_update (gpointer user)
{
static int n = 0;
- static GDateTime *previous = NULL;
-
- GDateTime *now = g_date_time_new_now_local ();
-
- if (previous != NULL) {
- gfloat seconds;
-
- seconds = 1000000.0f / g_date_time_difference (now, previous);
- g_date_time_unref (previous);
-
- g_print ("\33[2K\r%i items processed (%3.2f items/s) ...", ++n, seconds);
- }
-
- previous = now;
+ g_print ("\33[2K\r%i items processed ...", ++n);
}
static GValueArray *