GNUnet  0.11.x
Data Fields
ProgressMeter Struct Reference

Simple struct to keep track of progress, and print a nice little percentage meter for long running tasks. More...

Data Fields

unsigned int total
 Total number of elements. More...
 
unsigned int modnum
 Intervall for printing percentage. More...
 
unsigned int dotnum
 Number of dots to print. More...
 
unsigned int completed
 Completed number. More...
 
int print
 Should the meter be printed? More...
 
char * startup_string
 String to print on startup. More...
 

Detailed Description

Simple struct to keep track of progress, and print a nice little percentage meter for long running tasks.

Definition at line 55 of file gnunet-regex-simulation-profiler.c.

Field Documentation

◆ total

unsigned int ProgressMeter::total

Total number of elements.

Definition at line 60 of file gnunet-regex-simulation-profiler.c.

Referenced by create_meter(), regex_iterator(), and update_meter().

◆ modnum

unsigned int ProgressMeter::modnum

Intervall for printing percentage.

Definition at line 65 of file gnunet-regex-simulation-profiler.c.

Referenced by create_meter(), and update_meter().

◆ dotnum

unsigned int ProgressMeter::dotnum

Number of dots to print.

Definition at line 70 of file gnunet-regex-simulation-profiler.c.

Referenced by create_meter(), and update_meter().

◆ completed

unsigned int ProgressMeter::completed

Completed number.

Definition at line 75 of file gnunet-regex-simulation-profiler.c.

Referenced by reset_meter(), and update_meter().

◆ print

int ProgressMeter::print

Should the meter be printed?

Definition at line 80 of file gnunet-regex-simulation-profiler.c.

Referenced by create_meter(), and update_meter().

◆ startup_string

char* ProgressMeter::startup_string

String to print on startup.

Definition at line 85 of file gnunet-regex-simulation-profiler.c.

Referenced by create_meter(), free_meter(), and update_meter().


The documentation for this struct was generated from the following file: