mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-16 08:15:31 +00:00
Uncomment and correct spelling error in use of getrusage() result, ru_outblock => ru_oublock
This commit is contained in:
parent
1c6277d313
commit
b71a8088d3
@ -127,10 +127,7 @@ void update_miscstats(void) {
|
||||
MiscStats->pagefaults = ru.ru_minflt + ru.ru_majflt;
|
||||
MiscStats->swapwrites = ru.ru_majflt;
|
||||
MiscStats->diskiotime = 0; /* ?? not available ?? */
|
||||
MiscStats->diskops = ru.ru_inblock
|
||||
/* ?? this doesn't work ???
|
||||
+ ru.ru_outblock */
|
||||
;
|
||||
MiscStats->diskops = ru.ru_inblock + ru.ru_oublock;
|
||||
gettimeofday(&timev, NULL);
|
||||
MiscStats->secondstmp = MiscStats->secondsclock = (timev.tv_sec + UNIX_ALTO_TIME_DIFF);
|
||||
#endif /* DOS */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user