111 - Bank Conflict
$ cd tutorial/111
$ ls
$ cat -n bank.c
code:bank.c
12 double aNN; /* 2 dim array, 64M */ 18 for(i = 0; i < N; i++) {
19 for(j = 0; j < N; j++) {
21 }
22 }
---
$ gcc -O bank.c
$ a.out // 1.209 sec
$ ncc -ftrace bank.c -o n.out
$ n.out // 4.613 sec = 0.26 times against gcc (slow down ...OMG..)
https://gyazo.com/2c3c1a4c5bec4ceac11aea339c8e8800
ftrace -f ftrace.out
https://gyazo.com/f3036379f6af75374c58d64be39c9aa0