OK, I have redone LDs tests on a Siemens IM151-8.
Results:
1: //indexed multiply with non-zero data - 1680ms
2: //non indexed multiply with non-zero data - 430ms
3: //some trig functions - 1770ms
4: //non indexed multiply with non-zero data, more calcs, for loop smaller - 280ms
5: //non indexed divide with non-zero data - 560ms
6: //non indexed multiply with zero data - 440ms
7: //Boolean logic - 310ms
8: //Bitwise operation - 300ms
9: //bubble sort - fails to finish within 6000ms (maximum cycle time for IM151-8)
edit: btw, the arrays were too big for the available memory, so I reduced them by a factor 10 and extrapolated the results accordingly.
Results:
1: //indexed multiply with non-zero data - 1680ms
2: //non indexed multiply with non-zero data - 430ms
3: //some trig functions - 1770ms
4: //non indexed multiply with non-zero data, more calcs, for loop smaller - 280ms
5: //non indexed divide with non-zero data - 560ms
6: //non indexed multiply with zero data - 440ms
7: //Boolean logic - 310ms
8: //Bitwise operation - 300ms
9: //bubble sort - fails to finish within 6000ms (maximum cycle time for IM151-8)
edit: btw, the arrays were too big for the available memory, so I reduced them by a factor 10 and extrapolated the results accordingly.
Last edited: