diff --git a/Exo3/ij_ji.c b/Exo3/ij_ji.c index 871aef9..2d48a45 100644 --- a/Exo3/ij_ji.c +++ b/Exo3/ij_ji.c @@ -1,14 +1,14 @@ /* accès mémoire */ -#include -#include +#include +#include #include -#define N 8192 +#define N 8192 int t[N][N]; -static inline double tstamp(void) -{ +static inline double tstamp(void) +{ struct timespec tv; clock_gettime(CLOCK_REALTIME, &tv); return tv.tv_sec + tv.tv_nsec * 1.0e-9; @@ -16,23 +16,22 @@ static inline double tstamp(void) int main() { - int i,j; - double t1,t2; - t1=tstamp(); + int i, j; + double t1, t2; + t1 = tstamp(); - /* version 1 */ + /* version 1 */ - for(i=0;i