Home | History | Annotate | Download | only in ui
      1 #ifndef _PERF_UI_PROGRESS_H_
      2 #define _PERF_UI_PROGRESS_H_ 1
      3 
      4 #include <../types.h>
      5 
      6 struct ui_progress {
      7 	void (*update)(u64, u64, const char *);
      8 	void (*finish)(void);
      9 };
     10 
     11 extern struct ui_progress *progress_fns;
     12 
     13 void ui_progress__init(void);
     14 
     15 void ui_progress__update(u64 curr, u64 total, const char *title);
     16 void ui_progress__finish(void);
     17 
     18 #endif
     19