Return to iostat.c CVS log | Up to [local] / src / usr.bin / systat |
version 1.49, 2019/06/28 13:35:04 | version 1.50, 2021/08/14 14:22:26 | ||
---|---|---|---|
|
|
||
print_io(void) | print_io(void) | ||
{ | { | ||
int n, count = 0; | int n, count = 0; | ||
int curr; | int curr; | ||
etime = naptime; | |||
if (state == BOOT) | |||
etime = 1.0; | |||
else | |||
etime = naptime; | |||
/* XXX engine internals: save and restore curr_line for bcache */ | /* XXX engine internals: save and restore curr_line for bcache */ | ||
curr = curr_line; | curr = curr_line; |