hegemon icon indicating copy to clipboard operation
hegemon copied to clipboard

Allow stream providers to carry updatable state

Open p-e-w opened this issue 7 years ago • 0 comments

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.

p-e-w avatar Sep 30 '18 14:09 p-e-w