Differences From Artifact [df2282aa92]:
- File src/loadctrl.c — part of check-in [dede23732a] at 2014-10-06 13:37:30 on branch trunk — If the getloadavg() function exists and returns without error, then always report a load average of at least 0.000001 even if the load average comes back as zero. This allows us to distinguish between a non-working load average and a very low load average. (user: drh size: 1758) [more...]
To Artifact [32febde85f]:
- File src/loadctrl.c — part of check-in [8bfd9951ca] at 2016-04-07 18:41:54 on branch trunk — Make usage of 'Usage:' and 'or:' consistent in all help text. (user: rberteig size: 1762) [more...]
| ︙ | ︙ | |||
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
}
#endif
return 0.0;
}
/*
** COMMAND: test-loadavg
** %fossil test-loadavg
**
** Print the load average on the host machine.
*/
void loadavg_test_cmd(void){
fossil_print("load-average: %f\n", load_average());
}
| > | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
}
#endif
return 0.0;
}
/*
** COMMAND: test-loadavg
**
** %fossil test-loadavg
**
** Print the load average on the host machine.
*/
void loadavg_test_cmd(void){
fossil_print("load-average: %f\n", load_average());
}
|
| ︙ | ︙ |