Closed iratemike closed 1 year ago
Hi,
I started with those two independent index values because I wanted to distinguish between 'independent' sensors (like temperature sensors on the mainboard or fans) and multiple readings from one 'sensor' (like the CPU with independent cores).
The only instance where both indices are actually needed are either Multi-CPU systems where the sensor_index
is the CPU package and the data_index
is the core index or systems with more than one GPU, where the sensor_index
refers to the GPU the data is read from.
The stability of index values is not guaranteed, but they are filled in the same order all the time. So in practice, they should be identical over multiple runs. But if you for instance add a new synthetic temperature or plug in a new HDD while Argus is running, these values would then be added and could shift index values of sensors after the one that got inserted -- even from one update cycle to the next (with no restart of Argus).
Thank you very much for the clarification.
Hello,
Thank you for the great API!
I'm seeking a bit of clarification around
DataIndex
andSensorIndex
.Given the below example output:
For some sensor types all sensor indexes are 0, while the data index follows an incrementing zero based index. An example in the above output is sensor type 6.
As per
argus_monitor_data_api.h
:I'm wondering if you have any guidance around which sensors will have an incrementing sensor index.
Another question I have is how stable these indexes are. After a restart they seem to remain the same, but I'm wondering if they might reorder in day to day use depending on how they're enumerated by Argus Monitor.
Thanks again!