pub fn process_figures(
scanned: &[Scanned],
prev: &HashMap<ClientKey, u64>,
elapsed: Option<Duration>,
) -> (Vec<ProcessFigures>, HashMap<ClientKey, u64>)Expand description
Each process’s figures from the clients read, and the busy times to compare with at the next read.
A client’s use is the time its engines were busy since prev, of the time between the reads; a process’s is its
clients’ added up within a whole (as on Windows). With nothing to compare with (the first read, or a client that is
new) the use is unknown, not zero. A process’s memory is its clients’ added up, each client once however many
descriptors it has.