Skip to content

Commit

Permalink
add cpu_model to nxf_trace_mac
Browse files Browse the repository at this point in the history
Signed-off-by: mirpedrol <mirp.julia@gmail.com>
  • Loading branch information
mirpedrol authored and skrakau committed May 15, 2023
1 parent 85a72dd commit b5c8521
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ nxf_write_trace() {
echo "nextflow.trace/v2" > $trace_file
echo "realtime=$wall_time" >> $trace_file
echo "%cpu=$ucpu" >> $trace_file
echo "cpu_model=$cpu_model" >> $trace_file
echo "rchar=${io_stat1[0]}" >> $trace_file
echo "wchar=${io_stat1[1]}" >> $trace_file
echo "syscr=${io_stat1[2]}" >> $trace_file
Expand All @@ -144,6 +145,7 @@ nxf_trace_mac() {
local end_millis=$(nxf_date)
local wall_time=$((end_millis-start_millis))
local ucpu=''
local cpu_model=''
local io_stat1=('' '' '' '' '' '')
nxf_write_trace
}
Expand Down

0 comments on commit b5c8521

Please sign in to comment.