Please sign in to comment.
Improve portability of ticks per second calculations
Recent Linux versions define the start time from /proc/*/stat as sysconf(_SC_CLK_TCK) instead of jiffies. The Hurd docs also suggest using sysconf(_SC_CLK_TCK) instead of HZ. See-also: https://www.gnu.org/software/hurd/hurd/porting/guidelines.html
- Loading branch information...
Showing with 17 additions and 4 deletions.