Expand description
What the machine and srv itself were doing in the seconds before a runtime stall.
The stall watch (stall_watch) can say that the runtime’s beat was late, not why. A late beat with an empty queue is
what a machine with no CPU for srv looks like, and also what workers blocked in a synchronous call look like. These
counters tell them apart: the machine’s busy share, srv’s own share, how much srv read and wrote, and how full memory
was. They are read at every look (a few system calls, four times a second) and kept for a few seconds; the start line
of a stall reports what changed over the last two seconds, which reaches back into the stall itself.
Windows only: elsewhere read gives nothing and the line carries the load average instead. Numbers only.
Structs§
- History
- The last few seconds of readings.
- Load
- What changed between two readings.
- Sample
- One reading of the counters, on the watch’s clock.
Constants§
- REPORT_
OVER_ MS - How far back the start line looks.
Functions§
- delta
- The change from
fromtoto, or nothing when no time passed between them. - mem_
load_ pct - read