haproxy/include
Willy Tarreau 9efd7456e0 MEDIUM: tasks: collect per-task CPU time and latency
Right now we measure for each task the cumulated time spent waiting for
the CPU and using it. The timestamp uses a 64-bit integer to report a
nanosecond-level date. This is only enabled when "profiling.tasks" is
enabled, and consumes less than 1% extra CPU on x86_64 when enabled.
The cumulated processing time and wait time are reported in "show sess".

The task's counters are also reset when an HTTP transaction is reset
since the HTTP part pretends to restart on a fresh new stream. This
will make sure we always report correct numbers for each request in
the logs.
2018-11-22 15:44:21 +01:00
..
common REORG: time/activity: move activity measurements to activity.{c,h} 2018-11-22 11:48:41 +01:00
import BUILD: threads/plock: fix a build issue on Clang without optimization 2017-11-20 21:06:35 +01:00
proto MEDIUM: tasks: collect per-task CPU time and latency 2018-11-22 15:44:21 +01:00
types MEDIUM: tasks: collect per-task CPU time and latency 2018-11-22 15:44:21 +01:00