diff options
author | Jesper Schmitz Mouridsen <jsm@FreeBSD.org> | 2021-05-08 17:41:56 +0200 |
---|---|---|
committer | Jesper Schmitz Mouridsen <jsm@FreeBSD.org> | 2021-05-08 18:51:58 +0200 |
commit | 8d9632ac336b47ca89064b79d575c05b37982c31 (patch) | |
tree | de477ecdd2b9eb574983f11300771ff4ce727bc3 /sysutils/libsysstat/files/patch-cpustat__p.h | |
parent | devel/liblxqt: Update to 0.17.0 (diff) |
sysutils/libsysstat: Update to 0.4.5
- Improve patches for per cpu freq levels.
Diffstat (limited to 'sysutils/libsysstat/files/patch-cpustat__p.h')
-rw-r--r-- | sysutils/libsysstat/files/patch-cpustat__p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/libsysstat/files/patch-cpustat__p.h b/sysutils/libsysstat/files/patch-cpustat__p.h index 168c6959f30f..3c56a8038991 100644 --- a/sysutils/libsysstat/files/patch-cpustat__p.h +++ b/sysutils/libsysstat/files/patch-cpustat__p.h @@ -1,4 +1,4 @@ ---- cpustat_p.h.orig 2020-11-03 14:45:02 UTC +--- cpustat_p.h.orig 2021-04-07 06:58:34 UTC +++ cpustat_p.h @@ -27,6 +27,9 @@ #ifndef LIBSYSSTAT__CPU_STAT__PRIVATE__INCLUDED @@ -17,7 +17,7 @@ +#ifdef HAVE_SYSCTL_H + ulong minFreq(const QString &source) const; + ulong maxFreq(const QString &source) const; -+ ulong CurrentFreq(void); ++ ulong CurrentFreq(const QString); + +#else uint minFreq(const QString &source) const; @@ -56,7 +56,7 @@ + typedef QMap<QString, QPair<ulong, ulong> > Bounds; + int mib0[2]; + int mib1[2]; -+ int mib2[4]; ++ int mib2[512][4]; +#else typedef QMap<QString, QPair<uint, uint> > Bounds; +#endif |