tud-zih-energy / x86_energy

The x86_energy library allows to count power and energy values.
GNU Lesser General Public License v2.1
11 stars 3 forks source link

Provide more Information when x86_energy_init_architecture_nodes() fails #3

Closed AndreasGocht closed 5 years ago

AndreasGocht commented 6 years ago

There are several cases when the call to x86_energy_init_architecture_nodes() might fail, and NULL is returned. Please add some way to get an information why it failed.

Best,

Andreas

Quimoniz commented 6 years ago

Thanks to @rschoene this should be taken care of with the latest commit

If you still happen to find any error case where no error message is being stored to error_string/x86_energy_error_string() I would be more than happy to hear about it

rschoene commented 5 years ago

@AndreasGocht Can this be closed?

AndreasGocht commented 5 years ago

think so.