Skip to content

pcp stats prototype, do not push. #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions coremark/coremark_run
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ run_coremark()
#
# Iteration of test.
#
#
# Issue with package_tool not using tool_bin
#
pushd $curdir > /dev/null
source $TOOLS_BIN/pcp_start
popd > /dev/null
for iter in $(seq 1 1 $to_times_to_run); do
if [ $powers_2 -eq 1 ]; then
cpu_count=1
Expand All @@ -173,6 +179,7 @@ run_coremark()
#
execute_coremark $iter $numb_cpus
done
source $TOOLS_BIN/pcp_stop

#
# Create the csv file.
Expand Down Expand Up @@ -260,7 +267,7 @@ generate_results()
else
echo Ran > test_results_report
fi
${curdir}/test_tools/save_results --curdir $curdir --home_root $to_home_root --other_files "*_summary,run*log,test_results_report" --results results.csv --test_name coremark --tuned_setting=$to_tuned_setting --version $coremark_version --user $to_user
${TOOLS_BIN}/save_results --curdir $curdir --home_root $to_home_root --other_files "*_summary,run*log,test_results_report" --results results.csv --test_name coremark --tuned_setting=$to_tuned_setting --version $coremark_version --user $to_user $to_pcp_args
fi
popd > /dev/null
}
Expand All @@ -285,9 +292,11 @@ install_test_tools "$@"
# to_tuned_setting: tuned setting
#

pushd $curdir > /dev/null
source $curdir/test_tools/general_setup "$@"
# Gather hardware information
$curdir/test_tools/gather_data ${curdir}
$TOOLS_BIN/gather_data ${curdir}
popd > /dev/null

ARGUMENT_LIST=(
"commit"
Expand Down