Our zoo of monitors looks very similar: They basically just all own some set of Writers, and then if either the timer fd runs out or a Writer associated fd signals readiness to write, they call writer.write().
I have a feeling that much of the Monitor infrastructure could be reworked into such a one-liner:
Our zoo of monitors looks very similar: They basically just all own some set of Writers, and then if either the timer fd runs out or a Writer associated fd signals readiness to write, they call writer.write().
I have a feeling that much of the Monitor infrastructure could be reworked into such a one-liner:
without too many asterisks attached, but then again, this might overestimate what C++ templating is capable of.
With many possible NECMonitors, NVidiaMonitors, UncoreMonitors etc. in lo2s' future this might be a worthwhile discussion.