Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion tests/mq/mq_workload.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ no_task_retval_t receiver(no_task_argument_t args)
no_task_retval_t workload_task(no_task_argument_t args)
{
int32_t i;
unsigned long _workload_results[100];
volatile unsigned long _workload_results[100];

while (1)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex/mutex_workload.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ no_task_retval_t workload_task(no_task_argument_t args)
{
int32_t i;
int32_t j;
unsigned long _workload_results[100];
volatile unsigned long _workload_results[100];

while (1)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/semaphore/sem_processing.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ no_task_retval_t task(no_task_argument_t args)
DECLARE_TIME_COUNTERS(no_time_t, inc);
DECLARE_TIME_COUNTERS(no_time_t, dec);
DECLARE_TIME_STATS(int64_t);
unsigned long _workload_results[NB_ITER];
volatile unsigned long _workload_results[NB_ITER];

/* 1b - Measure semaphore signaling time */
for (i = 0; i < NB_ITER; i++)
Expand Down
2 changes: 1 addition & 1 deletion tests/semaphore/sem_workload.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ no_task_retval_t receiver(no_task_argument_t args)
no_task_retval_t workload_task(no_task_argument_t args)
{
int32_t i;
unsigned long _workload_results[100];
volatile unsigned long _workload_results[100];

while (1)
{
Expand Down