nextflow-io / nf-co2footprint

[WIP] A Nextflow plugin to estimate the CO2 footprint of pipeline runs.
https://nextflow-io.github.io/nf-co2footprint/
Apache License 2.0
10 stars 3 forks source link

Map CPU model names from LINUX file to the `TDP_CPU` file #61

Open Llannelongue opened 9 months ago

Llannelongue commented 9 months ago

This is a tricky one and more long term. As it is now, it is likely that the CPU model name returned by LINUX doesn't match exactly the model name in the TDP table.

One option could be to try and find the standardised model names returned my LINUX and have a mapping table. Or some sophisticated regex to map CPU model names. Open topic!