Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christopher Ferreira
erods-bench
Commits
c52e4e02
Commit
c52e4e02
authored
Jun 28, 2017
by
aumgn
Browse files
Add support for wastedcores trace
parent
73a824ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
c52e4e02
...
...
@@ -18,6 +18,9 @@ submodules:
make
-Cbenchmarks
/phoenix/phoenix-2.0
make
-C
.
build-parsec
wastedcores
:
submodules
cd
tools/wastedcores/tools/visualizations_4.1/sched_profiler
;
make
.PHONY
:
build-parsec
build-parsec
:
build-bodytrack build-streamcluster build-volrend
#
build-vips
...
...
exp/run
View file @
c52e4e02
...
...
@@ -7,6 +7,7 @@ export TMPFS_PATH=$BENCH_PATH/tmpfs
export
TRACE_BASE_PREFIX
=
"sudo trace-cmd record -e sched"
export
PERF_BASE_PREFIX
=
"sudo perf record -e sched:sched_migrate_task,sched:sched_switch --call-graph dwarf -F 99"
export
SCHED_PROFILER_MOD_PATH
=
tools/wastedcores/tools/visualizations_4.1/sched_profiler/sched_profiler.ko
export
PINTHREADS_PATH
=
$HOME
/bench/tools/PinThreads
export
PINTHREADS_BIN
=
$PINTHREADS_PATH
/pinthreads
...
...
@@ -217,8 +218,16 @@ run_iterations() {
echo
"####
$cmd
"
>
$iteration_dir
/command
cat
/proc/schedstat
>
$iteration_dir
/schedstat.before
if
[[
-n
$WITH_WC_VISU
]]
;
then
sudo
insmod
$SCHED_PROFILER_MOD_PATH
fi
eval
"
$cmd
"
1>>
$output
2>>
$errors
echo
"
$?
"
>
$iteration_dir
/exit_status
if
[[
-n
$WITH_WC_VISU
]]
;
then
cat
/proc/sched_profiler
>
$iteration_dir
/sched_profiler.output
sudo
rmmod
$SCHED_PROFILER_MOD_PATH
fi
cat
/proc/schedstat
>
$iteration_dir
/schedstat.after
printf
'.'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment