summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui/progress.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/ui/progress.h')
-rw-r--r--tools/perf/util/ui/progress.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/perf/util/ui/progress.h b/tools/perf/util/ui/progress.h
new file mode 100644
index 00000000000..a3820a0beb5
--- /dev/null
+++ b/tools/perf/util/ui/progress.h
@@ -0,0 +1,11 @@
+#ifndef _PERF_UI_PROGRESS_H_
+#define _PERF_UI_PROGRESS_H_ 1
+
+struct ui_progress;
+
+struct ui_progress *ui_progress__new(const char *title, u64 total);
+void ui_progress__delete(struct ui_progress *self);
+
+void ui_progress__update(struct ui_progress *self, u64 curr);
+
+#endif