diff options
-rw-r--r-- | lib/urldata.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 4f320408a..5eba3c659 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -372,7 +372,9 @@ struct Progress { bool callback; /* set when progress callback is used */ int width; /* screen width at download start */ int flags; /* see progress.h */ - double timespent; + + long timespent; + double dlspeed; double ulspeed; @@ -382,9 +384,10 @@ struct Progress { struct timeval start; struct timeval t_startsingle; -#define CURR_TIME 5 +#define CURR_TIME (5+1) /* 6 entries for 5 seconds */ double speeder[ CURR_TIME ]; + struct timeval speeder_time[ CURR_TIME ]; int speeder_c; }; |