Commit 39f17d7e authored by Jan Kiene's avatar Jan Kiene
Browse files

create the latest_WMOPS.csv from the whole file, not from split ones

parent b34fdd0f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -83,6 +83,10 @@ fi
./scripts/IvasBuildAndRunChecks.py $mode_arg_script -p $config_file --checks COMPLEXITY --create_complexity_tables ${wmopsFilenameFlc} -C $ivas_format $mode_arg -f ${ep} --oc $output_format
ret_val_script=$?

# for runs on ivas-float-update: creat copy of WMOPS csv file with static name so that it is easier to grab from the artifacts
latest_wmops="${wmopsFilenameFlcDir}/latest_WMOPS.csv"
cp ${wmopsFilenameFlc}_WMOPS.csv ${latest_wmops}

# TODO: only split wmops and ram files
./ci/complexity_measurements/split_by_levels.py $(ls ${wmopsFilenameFlc}*.csv)

@@ -93,7 +97,6 @@ for suffix in "${split_suffixes[@]}"; do
  wmopsFilenameFlc_split="${wmopsFilenameFlc}_WMOPS${suffix}.csv"
  wmopsFilenameFlcLast_split="${wmopsFilenameFlcLast}_WMOPS${suffix}.csv"
  log_wmops_all_split="${destDir}/wmops/log_wmops_all${suffix}.txt"
  latest_wmops_split="${wmopsFilenameFlcDir}/latest_WMOPS${suffix}.csv"

  heapFilenameFlc_split="${wmopsFilenameFlc}_HEAP${suffix}.csv"
  stackFilenameFlc_split="${wmopsFilenameFlc}_STACK${suffix}.csv"
@@ -105,9 +108,6 @@ for suffix in "${split_suffixes[@]}"; do
  ### WMOPS
  ${scriptDir}/parseNewsletterWmops.py ${wmopsFilenameFlc_split} ${wmopsFilenameFlcLast_split} ${commit_sha} ${shortDate} ${fullDate} >>${log_wmops_all_split}

  # create copy of WMOPS csv file with special name to easily get it from artifacts when comparing BASOP to float numbers
  cp ${wmopsFilenameFlc_split} ${latest_wmops_split}

  # get memory info for webpage
  ### RAM
  ${scriptDir}/mergeNewsletterRam.py ${heapFilenameFlc_split} ${stackFilenameFlc_split} >${ramFilenameFlc_split}