Skip to content

Commit

Permalink
Merge pull request #29 from redhat-performance/uperf_meta
Browse files Browse the repository at this point in the history
Add meta data to results file.
  • Loading branch information
dvalinrh authored Sep 18, 2024
2 parents 96ee31f + 1b7f5d3 commit 4eec897
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions uperf/uperf_run
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ ssh_and_check_error()

source .bashrc

uperf_version="1.0"
test_name="uperf"
rtc=0
results_file_worker=""
Expand Down Expand Up @@ -322,11 +323,13 @@ organize_data()
# Now process the results
#
pushd net_results > /dev/null
$TOOLS_BIN/test_header_info --front_matter --results_file $working_dir/results_uperf.csv --host $to_configuration --sys_type $to_sys_type --tuned $to_tuned_setting --results_version $uperf_version --test_name $test_name
for tt in `ls`; do
pushd $tt > /dev/null
for pt in `ls`; do
cd $pt
for ps in `ls`; do
$TOOLS_BIN/test_header_info --results_file $working_dir/results_uperf.csv --meta_output "Test type: $tt" --meta_output "Packet type: $pt" --meta_output "Packet size: $ps"
cd $ps
for nn in `ls`; do
cd $nn
Expand Down

0 comments on commit 4eec897

Please sign in to comment.