Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gene
xmc4500-relax-linux
Commits
06f522a3
Commit
06f522a3
authored
Sep 29, 2016
by
Christian Eichler
Browse files
Flush instruction cache before starting the benchmark
parent
bf7f02eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.c
View file @
06f522a3
...
...
@@ -103,6 +103,10 @@ static void command_bch(char *arg) {
__set_BASEPRI
(
1
<<
(
8
-
__NVIC_PRIO_BITS
));
gene_init
();
// flush instruction cache prior to executing the benchmark to
// ensure a "clean" system state
XMC_PREFETCH_InvalidateInstructionBuffer
();
timer_start
();
gene_main
(
val
);
...
...
Write
Preview
Supports
Markdown
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