Skip to content
Snippets Groups Projects
Commit 25934e17 authored by Christian Dietrich's avatar Christian Dietrich
Browse files

bench-timing: aborted computation clear event before sleeping

parent 87492811
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ extern "C" { ...@@ -16,6 +16,7 @@ extern "C" {
void timing_entry() { void timing_entry() {
timing_start(0); timing_start(0);
ActivateTask(Computation); ActivateTask(Computation);
ClearEvent(ComputationFinished | ComputationAborted);
WaitEvent(ComputationFinished | ComputationAborted); WaitEvent(ComputationFinished | ComputationAborted);
timing_end(TIMING_POINT_NO_INTERRUPTS_IN_BLOCK | 0); timing_end(TIMING_POINT_NO_INTERRUPTS_IN_BLOCK | 0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment