diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-08-08 19:56:47 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-08-10 16:09:14 -0300 |
commit | 34cea7f7c0620c964676eece258ef431a6608bce (patch) | |
tree | 48b85557823fc63939dad71cb14d6c75b96a11b9 /tools/perf/util/ui/progress.h | |
parent | 5575536fc7ad7577a4e687a13e2f49acebc519f3 (diff) | |
download | op-kernel-dev-34cea7f7c0620c964676eece258ef431a6608bce.zip op-kernel-dev-34cea7f7c0620c964676eece258ef431a6608bce.tar.gz |
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 'tools/perf/util/ui/progress.h')
-rw-r--r-- | tools/perf/util/ui/progress.h | 11 |
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 0000000..a3820a0 --- /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 |