diff options
Diffstat (limited to 'baseline/source/statemate/ChangeLog.txt')
| -rw-r--r-- | baseline/source/statemate/ChangeLog.txt | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/baseline/source/statemate/ChangeLog.txt b/baseline/source/statemate/ChangeLog.txt new file mode 100644 index 0000000..bce75dc --- /dev/null +++ b/baseline/source/statemate/ChangeLog.txt | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | File: statemate.c | ||
| 2 | Original provenience: Mälardalen benchmark suite, | ||
| 3 | http://www.mrtc.mdh.se/projects/wcet/benchmarks.html | ||
| 4 | |||
| 5 | 2016-02-02: | ||
| 6 | - Removed original header comment, replaced by TACLeBench header. | ||
| 7 | - Removed macro '#define float int' and replaced each 'float' by 'int' (8 in | ||
| 8 | total) | ||
| 9 | - Removed unused macro | ||
| 10 | - #define entered_EINSCHALTSTROM_MESSEN_BLOCK_ERKENNUNG_CTRL_copy_IDX 1 | ||
| 11 | - Removed unused variables | ||
| 12 | - int FH_TUERMODUL_CTRL__N_copy; | ||
| 13 | - int BLOCK_ERKENNUNG_CTRL__I_EIN_MAX_copy; | ||
| 14 | - int BLOCK_ERKENNUNG_CTRL__N_copy; | ||
| 15 | - char FH_TUERMODUL_CTRL__FT; | ||
| 16 | - char FH_TUERMODUL__COM_OPEN; | ||
| 17 | - char FH_TUERMODUL__COM_CLOSE; | ||
| 18 | - char FH_DU__S_FH_TMBFAUFCAN_copy; | ||
| 19 | - char FH_DU__S_FH_TMBFZUCAN_copy; | ||
| 20 | - Moved around all the following so that they are in the given order just after | ||
| 21 | the header | ||
| 22 | - macro definitions | ||
| 23 | - forward declarations of fuctions | ||
| 24 | - declarations of global variables | ||
| 25 | - Reordered functions in source code: initialization-related functions first, | ||
| 26 | followed by algorithm core functions, followed by main functions | ||
| 27 | - Added a new main function that first calls init function then the old main | ||
| 28 | function sans init | ||
| 29 | - Annotated statemate_main() as the entry point of the analysis | ||
| 30 | - Removed seemingly unnecessary empty lines | ||
| 31 | - Changed remaining floating number literals, all being used for time related | ||
| 32 | comparisons, to integer literals by multiplying them by 1000 so that the | ||
| 33 | code is totally floating number free. E.g: | ||
| 34 | changed 'time - sc_FH_TUERMODUL_CTRL_2375_2 >= 0.5f' | ||
| 35 | to 'time - sc_FH_TUERMODUL_CTRL_2375_2 >= 500' | ||
| 36 | Info: All time related variables were already converted to 'unsigned long' | ||
| 37 | - Applied code formatting according to the following rules | ||
| 38 | - Lines shall not be wider than 80 characters; whenever possible, appropriate | ||
| 39 | line breaks shall be inserted to keep lines below 80 characters | ||
| 40 | - Indentation is done using whitespaces only, no tabs. Code is indented by | ||
| 41 | two whitespaces | ||
| 42 | - Two empty lines are put between any two functions | ||
| 43 | - In non-empty lists or index expressions, opening '(' and '[' are followed by | ||
| 44 | one whitespace, closing ')' and ']' are preceded by one whitespace | ||
| 45 | - In comma- or colon-separated argument lists, one whitespace is put after | ||
| 46 | each comma/colon | ||
| 47 | - Names of functions and global variables all start with a benchmark-specific | ||
| 48 | prefix (here: statemate_) followed by lowercase letter | ||
| 49 | - For pointer types, one whitespace is put before the '*' | ||
| 50 | - Operators within expressions shall be preceded and followed by one | ||
| 51 | whitespace | ||
| 52 | - Code of then- and else-parts of if-then-else statements shall be put in | ||
| 53 | separate lines, not in the same lines as the if-condition or the keyword | ||
| 54 | "else" | ||
| 55 | - Opening braces '{' denoting the beginning of code for some if-else or loop | ||
| 56 | body shall be put at the end of the same line where the keywords "if", | ||
| 57 | "else", "for", "while" etc. occur | ||
| 58 | |||
| 59 | 2016-10-10: | ||
| 60 | - added statemate_return() function | ||
