#include <eh_utils.h>Go to the source code of this file.
Defines | |
| #define | EH_SECONDS_PER_DAY ( 86400. ) |
| #define | EH_SECONDS_PER_HOUR ( 3600. ) |
| #define | EH_SECONDS_PER_MINUTE ( 60. ) |
Functions | |
| gpointer | print_status (gpointer data) |
| Eh_status_bar * | eh_status_bar_new (double *cur, double *end) |
| Eh_status_bar * | eh_status_bar_stop (Eh_status_bar *b) |
| Eh_status_bar * | eh_status_bar_pause (Eh_status_bar *b) |
| gboolean | eh_status_bar_is_stopped (Eh_status_bar *b) |
| Eh_status_bar * | eh_status_bar_destroy (Eh_status_bar *b) |
| gchar * | eh_render_time_str (double sec) |
| #define EH_SECONDS_PER_DAY ( 86400. ) |
| #define EH_SECONDS_PER_HOUR ( 3600. ) |
| #define EH_SECONDS_PER_MINUTE ( 60. ) |
| gchar* eh_render_time_str | ( | double | sec | ) |
Definition at line 126 of file eh_status_bar.c.
References EH_SECONDS_PER_DAY, EH_SECONDS_PER_HOUR, and EH_SECONDS_PER_MINUTE.
Referenced by print_status(), and sed_process_summary().
| Eh_status_bar* eh_status_bar_destroy | ( | Eh_status_bar * | b | ) |
Definition at line 53 of file eh_status_bar.c.
References eh_free, eh_status_bar_stop(), Eh_status_bar::mutex, Eh_status_bar::t, and Eh_status_bar::timer.
Referenced by avulsion_full().
| gboolean eh_status_bar_is_stopped | ( | Eh_status_bar * | b | ) |
Definition at line 41 of file eh_status_bar.c.
References EH_STATUS_BAR_STOPPED, Eh_status_bar::mutex, and Eh_status_bar::status.
Referenced by print_status().
| Eh_status_bar* eh_status_bar_new | ( | double * | cur, | |
| double * | end | |||
| ) |
Definition at line 6 of file eh_status_bar.c.
References Eh_status_bar::cur, eh_new, EH_STATUS_BAR_RUNNING, Eh_status_bar::end, Eh_status_bar::mutex, print_status(), Eh_status_bar::status, Eh_status_bar::t, and Eh_status_bar::timer.
Referenced by avulsion_full().
| Eh_status_bar* eh_status_bar_pause | ( | Eh_status_bar * | b | ) |
Definition at line 32 of file eh_status_bar.c.
References EH_STATUS_BAR_PAUSED, Eh_status_bar::mutex, and Eh_status_bar::status.
| Eh_status_bar* eh_status_bar_stop | ( | Eh_status_bar * | b | ) |
Definition at line 22 of file eh_status_bar.c.
References EH_STATUS_BAR_STOPPED, Eh_status_bar::mutex, and Eh_status_bar::status.
Referenced by eh_status_bar_destroy().
| gpointer print_status | ( | gpointer | data | ) |
Definition at line 67 of file eh_status_bar.c.
References Eh_status_bar::cur, eh_free, eh_render_time_str(), eh_status_bar_is_stopped(), and EH_STATUS_BAR_RUNNING.
Referenced by eh_status_bar_new().
1.5.2