sysprof-cli: Print out number of samples when saving
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>
Fri, 23 Apr 2010 15:22:06 +0000 (11:22 -0400)
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>
Fri, 23 Apr 2010 15:56:14 +0000 (11:56 -0400)
sysprof-cli.c

index 2500dda..90f5b13 100644 (file)
@@ -47,7 +47,9 @@ dump_data (Application *app)
     GError *err = NULL;
     Profile *profile;
 
-    printf ("Saving profile in %s ... ", app->outfile);
+    printf ("Saving profile (%d samples) in %s ... ",
+           collector_get_n_samples (app->collector),
+           app->outfile);
     fflush (stdout);
 
     collector_stop (app->collector);