Linux Perf
progress.h File Reference
#include <linux/types.h>
Include dependency graph for progress.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ui_progress
 
struct  ui_progress_ops
 

Macros

#define ui_progress__init(p, total, title)   __ui_progress__init(p, total, title, false)
 
#define ui_progress__init_size(p, total, title)   __ui_progress__init(p, total, title, true)
 

Functions

void ui_progress__finish (void)
 
void __ui_progress__init (struct ui_progress *p, u64 total, const char *title, bool size)
 
void ui_progress__update (struct ui_progress *p, u64 adv)
 

Variables

struct ui_progress_opsui_progress__ops
 

Macro Definition Documentation

◆ ui_progress__init

#define ui_progress__init (   p,
  total,
  title 
)    __ui_progress__init(p, total, title, false)

Definition at line 18 of file progress.h.

◆ ui_progress__init_size

#define ui_progress__init_size (   p,
  total,
  title 
)    __ui_progress__init(p, total, title, true)

Definition at line 21 of file progress.h.

Function Documentation

◆ __ui_progress__init()

void __ui_progress__init ( struct ui_progress p,
u64  total,
const char *  title,
bool  size 
)

Definition at line 31 of file progress.c.

◆ ui_progress__finish()

void ui_progress__finish ( void  )

Definition at line 44 of file progress.c.

◆ ui_progress__update()

void ui_progress__update ( struct ui_progress p,
u64  adv 
)

Definition at line 17 of file progress.c.

Variable Documentation

◆ ui_progress__ops

struct ui_progress_ops* ui_progress__ops

Definition at line 15 of file progress.c.