git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4175
91ce42f0-d328-0410-95d8-
f526ca767f89
/* return the last timer interval (ms) */
int DEVICE::get_timer_count()
{
- uint64_t old = last_timer;
+ btime_t old = last_timer;
struct timeval tv;
gettimeofday(&tv, NULL);
last_timer = tv.tv_usec + tv.tv_sec * 1000000;
int rem_wait_sec;
int num_wait;
- uint64_t last_timer; /* used by read/write/seek to get stats (usec) */
- int last_tick; /* contains last read/write time (usec) */
+ btime_t last_timer; /* used by read/write/seek to get stats (usec) */
+ btime_t last_tick; /* contains last read/write time (usec) */
uint64_t DevReadTime;
uint64_t DevWriteTime;