]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: activity: report context switch counts instead of rates
authorWilly Tarreau <w@1wt.eu>
Tue, 30 Apr 2019 12:55:18 +0000 (14:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 30 Apr 2019 12:55:18 +0000 (14:55 +0200)
commitbc13bec5484554137eb15ab016e18c0fc83d7d78
treed40dfaf2c63deeaf1bc5212231f9c8cd74bb6bd7
parent9634e86dc73218c4cdc2589a66d10a93bd8204b9
MINOR: activity: report context switch counts instead of rates

It's not logical to report context switch rates per thread in show activity
because everything else is a counter and it's not even possible to compare
values. Let's only report counts. Further, this simplifies the scheduler's
code.
include/types/activity.h
src/cli.c
src/task.c