Allow stream providers to carry updatable state
p-e-w opened this issue · comments
Philipp Emanuel Weidmann commented
In CPUStreamProvider
the streams for each core currently have to retrieve the full CPU statistics whenever value
is called.
This work duplication could be reduced if stream providers were themselves invoked once per update cycle. The statistics could be retrieved by the provider then, and shared by all individual streams belonging to it.