ProcessTreeCpu

The CPU of the load generator's whole process tree: this JVM and every process it started, by pid. The samplers it starts for a run (jstat JVMs, the docker clients) inherit its CPUs, so they take the generator's cores too, and a share of those cores that counted only this JVM could read a saturated generator as one with room to spare.

Functions

Link copied to clipboard
fun since(before: Map<Long, Double>, after: Map<Long, Double>): Double

The CPU seconds the tree used from before to after: each process's growth, and the whole time of one that started in between. A process that ended in between has left after, and with it what it used since before.

Link copied to clipboard

The cumulative CPU seconds of this process and each of its descendants alive now, by pid; 0 for one whose CPU time the platform does not tell (macOS may not for another process; Linux, where the benchmarks run, does).