]> Pileus Git - ~andy/linux/blob - tools/perf/ui/progress.h
perf ui: Rename ui_progress to ui_progress_ops
[~andy/linux] / 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 struct ui_progress_ops {
7         void (*update)(u64, u64, const char *);
8         void (*finish)(void);
9 };
10
11 extern struct ui_progress_ops *ui_progress__ops;
12
13 void ui_progress__update(u64 curr, u64 total, const char *title);
14 void ui_progress__finish(void);
15
16 #endif