cpu_perc: Port to OpenBSD

In OpenBSD the CPU usage in percent is now computed using KERN_CPTIME
sysctl.
This commit is contained in:
Aaron Marcher committed 2018-05-06 17:48:37 +02:00
1 parent efb41724b5
commit 2b82bf0248
2 files changed
+36 -1

No files matched your search

+1 -1
View File
@@ -62,5 +62,5 @@ Porting to OpenBSD is the current goal before thinking about a release.
The following functions are not portable at the moment:
- wifi_{perc,essid}
- cpu_{perc,iowait}
- cpu_iowait
- entropy