diff --git a/src/libsysprof-ui/sysprof-capture-view.c b/src/libsysprof-ui/sysprof-capture-view.c
index e99f9010..5992660f 100644
--- a/src/libsysprof-ui/sysprof-capture-view.c
+++ b/src/libsysprof-ui/sysprof-capture-view.c
@@ -162,7 +162,12 @@ add_marks_to_details (SysprofCaptureView *self)
const gchar *name = k;
const SysprofMarkStat *st = v;
- sysprof_details_view_add_mark (priv->details_view, name, st->min, st->max, st->avg);
+ sysprof_details_view_add_mark (priv->details_view,
+ name,
+ st->min,
+ st->max,
+ st->avg,
+ st->count);
}
}
diff --git a/src/libsysprof-ui/sysprof-details-view.c b/src/libsysprof-ui/sysprof-details-view.c
index 4a96e0a0..c15de8c4 100644
--- a/src/libsysprof-ui/sysprof-details-view.c
+++ b/src/libsysprof-ui/sysprof-details-view.c
@@ -199,7 +199,8 @@ sysprof_details_view_add_mark (SysprofDetailsView *self,
const gchar *mark,
gint64 min,
gint64 max,
- gint64 avg)
+ gint64 avg,
+ gint64 hits)
{
GtkTreeIter iter;
@@ -211,5 +212,6 @@ sysprof_details_view_add_mark (SysprofDetailsView *self,
1, min ? _sysprof_format_duration (min) : "—",
2, max ? _sysprof_format_duration (max) : "—",
3, avg ? _sysprof_format_duration (avg) : "—",
+ 4, hits,
-1);
}
diff --git a/src/libsysprof-ui/sysprof-details-view.h b/src/libsysprof-ui/sysprof-details-view.h
index 993b08ff..c512298b 100644
--- a/src/libsysprof-ui/sysprof-details-view.h
+++ b/src/libsysprof-ui/sysprof-details-view.h
@@ -36,7 +36,8 @@ void sysprof_details_view_add_mark (SysprofDetailsView *self,
const gchar *mark,
gint64 min,
gint64 max,
- gint64 avg);
+ gint64 avg,
+ gint64 hits);
void sysprof_details_view_add_item (SysprofDetailsView *self,
GtkWidget *left,
GtkWidget *center);
diff --git a/src/libsysprof-ui/ui/sysprof-details-view.ui b/src/libsysprof-ui/ui/sysprof-details-view.ui
index 3365eea4..ecab4352 100644
--- a/src/libsysprof-ui/ui/sysprof-details-view.ui
+++ b/src/libsysprof-ui/ui/sysprof-details-view.ui
@@ -228,6 +228,19 @@
+
+
+
Min
@@ -290,6 +303,8 @@
+
+