[gnome-photos/wip/rishi/label-unit-timing-measurements] tracker-controller: Label unit of timing measurements




commit f81453bc004e982b4a1a05c77fbaf51fa0360d9d
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Aug 26 01:57:46 2020 +0200

    tracker-controller: Label unit of timing measurements
    
    Otherwise, it's not clear if these are timings or some kind of ID
    number.

 src/photos-tracker-controller.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-tracker-controller.c b/src/photos-tracker-controller.c
index a02db077..525e4ee0 100644
--- a/src/photos-tracker-controller.c
+++ b/src/photos-tracker-controller.c
@@ -237,7 +237,9 @@ photos_tracker_controller_cursor_next (GObject *source_object, GAsyncResult *res
     }
 
   now = g_get_monotonic_time ();
-  photos_debug (PHOTOS_DEBUG_TRACKER, "Query Cursor: %" G_GINT64_FORMAT, (now - priv->last_query_time) / 
1000000);
+  photos_debug (PHOTOS_DEBUG_TRACKER,
+                "Query Cursor: %" G_GINT64_FORMAT " seconds",
+                (now - priv->last_query_time) / 1000000);
 
   photos_item_manager_add_item_for_mode (PHOTOS_ITEM_MANAGER (priv->item_mngr),
                                          PHOTOS_TRACKER_CONTROLLER_GET_CLASS (self)->base_item_type,
@@ -346,7 +348,7 @@ photos_tracker_controller_set_query_status (PhotosTrackerController *self, gbool
   else
     {
       photos_debug (PHOTOS_DEBUG_TRACKER,
-                    "Query Elapsed: %" G_GINT64_FORMAT,
+                    "Query Elapsed: %" G_GINT64_FORMAT " seconds",
                     (now - priv->last_query_time) / 1000000);
       priv->last_query_time = 0;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]