The interface layout selection has been updated to support the interface option.
The interface option stores which data that needs to be plotted for each
devices.
The plot drawing code now supports the reverse plotting option.
The interface uses the ring buffer, the updated version of
the layout computation and plots the data specified by the interface options.
- Add a general option category.
- Moved the disable color option to the general category.
- Add the interface update interval to the general category.
This change is a precursor to a new option setup window.
The structure supports the command line options, the information to be plotted for each device, and the sorting order of the processes.
This refactors the GPU information extraction bit into a vendor specific
file.
This way the compilation will not rely on the presence of the nvml header and libnvidia-ml library anymore.
This way it will be easier to add the support for AMD GPU in the future.
Change the plot order to mimic the other monitoring programs behavior.
The consensus seems to be that the most recent point is displayed on the
right of the plot and oldest on the left.
Closes#69 as this is now the default.
The command line option "-r, --reverse-abs" is provided to reverse the
plot, getting the pre-commit behaviour if preferred.