[gnome-photos/sam/tracker3: 25/28] photos-tracker-controller: Label unit of timing measurements




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

    photos-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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-tracker-controller.c b/src/photos-tracker-controller.c
index a02db077..3a62cf2d 100644
--- a/src/photos-tracker-controller.c
+++ b/src/photos-tracker-controller.c
@@ -237,7 +237,7 @@ 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 +346,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]