haproxy/include
Willy Tarreau 3fb6a7b46e MINOR: activity: declare a new structure to collect per-function activity
The new sched_activity structure will be used to collect task-level
activity based on the target function. The principle is to declare a
large enough array to make collisions rare (256 entries), and hash
the function pointer using a reduced XXH to decide where to store the
stats. On first computation an entry is definitely assigned to the
array and it's done atomically. A special entry (0) is used to store
collisions ("others"). The goal is to make it easy and inexpensive for
the scheduler code to use these to store #calls, cpu_time and lat_time
for each task.
2021-01-29 12:10:33 +01:00
..
haproxy MINOR: activity: declare a new structure to collect per-function activity 2021-01-29 12:10:33 +01:00
import CLEANUP: Fix spelling errors in comments 2021-01-08 14:56:32 +01:00