[sysprof] sysprof-cli: Print out number of samples when saving
- From: Søren Sandmann Pedersen <ssp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] sysprof-cli: Print out number of samples when saving
- Date: Fri, 23 Apr 2010 15:54:56 +0000 (UTC)
commit ded375462bfc85d0a1319a2dadeb9723b7ee2896
Author: Søren Sandmann Pedersen <sandmann daimi au dk>
Date: Fri Apr 23 11:22:06 2010 -0400
sysprof-cli: Print out number of samples when saving
sysprof-cli.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/sysprof-cli.c b/sysprof-cli.c
index 2500dda..90f5b13 100644
--- a/sysprof-cli.c
+++ b/sysprof-cli.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]