Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / tools / perf / ui / progress.h
1 #ifndef _PERF_UI_PROGRESS_H_
2 #define _PERF_UI_PROGRESS_H_ 1
3
4 #include <../types.h>
5
6 void ui_progress__finish(void);
7
8 struct ui_progress {
9 const char *title;
10 u64 curr, next, step, total;
11 };
12
13 void ui_progress__init(struct ui_progress *p, u64 total, const char *title);
14 void ui_progress__update(struct ui_progress *p, u64 adv);
15
16 struct ui_progress_ops {
17 void (*update)(struct ui_progress *p);
18 void (*finish)(void);
19 };
20
21 extern struct ui_progress_ops *ui_progress__ops;
22
23 #endif
This page took 0.030351 seconds and 5 git commands to generate.