hegemon
hegemon copied to clipboard
Allow stream providers to carry updatable state
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.