Skip to content
Snippets Groups Projects
Commit 9ca9a251 authored by Bouquillon Fabien's avatar Bouquillon Fabien
Browse files

modification

parent 7e5484c4
No related branches found
No related tags found
No related merge requests found
......@@ -11,15 +11,19 @@ CACHE_END=.xml
mkdir $VULNERABLE_TASKS_DIRECTORY_ECC
for CACHE in cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50 #cache_16KB_1w_100 cache_16KB_1w_200 cache_16KB_2w_50 cache_16KB_2w_100 cache_16KB_2w_200 #cache_2KB_1w_50 cache_4KB_1w_50 cache_8KB_1w_50 cache_16KB_1w_50 cache_2KB_2w_50 cache_4KB_2w_50 cache_8KB_2w_50 cache_16KB_2w_50 cache_2KB_4w_50 cache_4KB_4w_50 cache_8KB_4w_50 cache_16KB_4w_50
for CACHE in cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50
do
mkdir $VULNERABLE_TASKS_DIRECTORY$CACHE
mkdir $VULNERABLE_TASKS_DIRECTORY_ECC$CACHE
done
##############################
# cache invalidation #
##############################
# for TASK in crc expint fibcall lcdnum duff binarysearch ns ludcmp fir2dim iir complex_updates cnt insersort ud #nsichneu
# do
# for CACHE in cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50 #cache_16KB_2w_50 cache_16KB_2w_100 cache_16KB_2w_200 cache_16KB_1w_50 cache_16KB_1w_100 cache_16KB_1w_200 #cache_2KB_1w_50 cache_4KB_1w_50 cache_8KB_1w_50 cache_16KB_1w_50 cache_2KB_2w_50 cache_4KB_2w_50 cache_8KB_2w_50 cache_16KB_2w_50 cache_2KB_4w_50 cache_4KB_4w_50 cache_8KB_4w_50 cache_16KB_4w_50
# for CACHE in cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50
# do
# echo "process:"$TASK$DIR_SEPARATOR$CACHE
# ./application $TASKS_DIRECTORY$TASK$TASK_END $TASKS_DIRECTORY$TASK$FF_END $VULNERABLE_TASKS_DIRECTORY$CACHE$DIR_SEPARATOR$TASK$DATA_END ./cache/$CACHE$CACHE_END 0
......@@ -27,10 +31,13 @@ done
# done
##############################
# ECC #
##############################
for TASK in crc expint fibcall lcdnum duff binarysearch ns ludcmp fir2dim iir complex_updates cnt insersort ud #nsichneu
for TASK in crc expint fibcall lcdnum duff binarysearch ns ludcmp fir2dim iir complex_updates cnt insersort ud
do
for CACHE in cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50 #cache_16KB_1w_50 cache_16KB_1w_100 cache_16KB_1w_200 #cache_2KB_1w_50 cache_4KB_1w_50 cache_8KB_1w_50 cache_16KB_1w_50 cache_2KB_2w_50 cache_4KB_2w_50 cache_8KB_2w_50 cache_16KB_2w_50 cache_2KB_4w_50 cache_4KB_4w_50 cache_8KB_4w_50 cache_16KB_4w_50
for CACHE in cache_16KB_1w_20 cache_16KB_1w_50 cache_16KB_2w_20 cache_16KB_2w_50
do
echo "process:"$TASK$DIR_SEPARATOR$CACHE
./application $TASKS_DIRECTORY$TASK$TASK_END $TASKS_DIRECTORY$TASK$FF_END $VULNERABLE_TASKS_DIRECTORY_ECC$CACHE$DIR_SEPARATOR$TASK$DATA_END ./cache/$CACHE$CACHE_END 1
......
......@@ -18,7 +18,7 @@
#include <otawa/cache/LBlock.h>
#include "type.h"
#define ECC_WCET 3
#define ECC_WCET 16
#define SA_WCET 33
#define DM_WCET 3
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment