1 #ifndef _PERF_UI_PROGRESS_H_
2 #define _PERF_UI_PROGRESS_H_ 1
4 #include <linux/types.h>
6 void ui_progress__finish(void);
10 u64 curr
, next
, step
, total
;
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
);
16 struct ui_progress_ops
{
17 void (*update
)(struct ui_progress
*p
);
21 extern struct ui_progress_ops
*ui_progress__ops
;