Added -m, --eta-window option: set time window for average rate computation (default 30s)
This commit is contained in:
@@ -42,6 +42,7 @@ struct opts_s { /* structure describing run-time options */
|
||||
double delay_start; /* delay before first display */
|
||||
unsigned int watch_pid; /* process to watch fds of */
|
||||
int watch_fd; /* fd to watch */
|
||||
unsigned int eta_window; /* time window in seconds for eta calculations */
|
||||
unsigned int width; /* screen width */
|
||||
unsigned int height; /* screen height */
|
||||
char *name; /* process name, if any */
|
||||
|
||||
Reference in New Issue
Block a user