Skip to content

Commit

Permalink
Add description of params ignoreCpuModel and powerdrawCpuDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
skrakau committed Dec 19, 2023
1 parent 3daf709 commit 28c344d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/usage/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ Mutually exclusive with the `ci` parameter.
This should contain the following columns: `model`,`TDP`,`n_cores`,`TDP_per_core`.
Note that this overwrites TDP values for already provided CPU models.
You can find the by default used TDP data [here](../../plugins/nf-co2footprint/src/resources/TDP_cpu.v2.2.csv).
- `ignoreCpuModel`: ignore the retrieved Nextflow trace `cpu_model` name and use the default CPU power draw value. This is useful, if the cpu model information provided by the linux kernel is not correct, for example, in the case of VMs emulating a different CPU architecture.
- `powerdrawCpuDefault`: the default value used as the power draw from a computing core. This is only applied if the parameter `ignoreCpuModel` is set or if the retrieved `cpu_model` could not be found in the given CPU TDP data.

0 comments on commit 28c344d

Please sign in to comment.