[gnome-software] trivial: Make the profiling more granular



commit 11bc9a855d21590b6a23f87ba6af5f5906930689
Author: Richard Hughes <richard hughsie com>
Date:   Fri Nov 4 17:13:59 2016 +0000

    trivial: Make the profiling more granular

 src/gs-main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-main.c b/src/gs-main.c
index 156b284..ea290a4 100644
--- a/src/gs-main.c
+++ b/src/gs-main.c
@@ -47,6 +47,7 @@ main (int argc, char **argv)
        textdomain (GETTEXT_PACKAGE);
 
        profile = as_profile_new ();
+       as_profile_set_duration_min (profile, 1);
        ptask = as_profile_start_literal (profile, "GsMain");
        g_assert (ptask != NULL);
 


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