aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui/progress.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-08-08 19:56:47 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-08-10 16:09:14 -0300
commit34cea7f7c0620c964676eece258ef431a6608bce (patch)
tree48b85557823fc63939dad71cb14d6c75b96a11b9 /tools/perf/util/ui/progress.h
parentperf ui: Move ui_helpline routines to separate file in util/ui/ (diff)
downloadlinux-dev-34cea7f7c0620c964676eece258ef431a6608bce.tar.xz
linux-dev-34cea7f7c0620c964676eece258ef431a6608bce.zip
perf ui: Move ui_progress routines to separate file in util/ui/
LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-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 000000000000..a3820a0beb5b
--- /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