]> granicus.if.org Git - sysstat/commit
Change condition used in workaround for CPU coming back online
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 10 Mar 2018 14:08:49 +0000 (15:08 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 10 Mar 2018 14:20:42 +0000 (15:20 +0100)
commit9057b41fcbf509a6dd2cefe8be31c7181e3c905c
treebd5b5c19937999d912d04fd2c4f029c84cc21168
parent16359471b3926bc2eb5375162b610069afc1f31d
Change condition used in workaround for CPU coming back online

Compare counter's value to ULLONG_MAX - 0x7ffff (and not ULLONG_MAX &
0x80000) to guess if it has overflown.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
rd_stats.c