[gnome-photos/wip/rishi/label-unit-timing-measurements] tracker-controller: Label unit of timing measurements
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/label-unit-timing-measurements] tracker-controller: Label unit of timing measurements
- Date: Tue, 8 Sep 2020 16:55:09 +0000 (UTC)
commit 832866d22ca1ff693f5691410fd1152cdb829fcb
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.
https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/147
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]