diff --git a/omp.c b/omp.c index 122da05..40cc52c 100644 --- a/omp.c +++ b/omp.c @@ -6,7 +6,7 @@ #include #define RANDLIMIT 5 -#define N 2000 +#define N 6000 #define NUMLIMIT 70.0 #define THREADS 8 diff --git a/pthread.c b/pthread.c index 55f2207..34be12e 100644 --- a/pthread.c +++ b/pthread.c @@ -6,7 +6,7 @@ #include #define RANDLIMIT 5 -#define N 2000 +#define N 6000 #define NUMLIMIT 70.0 #define THREADS 8 @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) { gettimeofday(&stop, 0); /*Print the timing*/ - fprintf(stdout, "Time Taken = %.6f seconds.\n\nn", + fprintf(stdout, "Time Taken = %.6f seconds.\n\n", (stop.tv_sec + stop.tv_usec * 1e-6) - (start.tv_sec + start.tv_usec * 1e-6)); diff --git a/seq.c b/seq.c index 8385e77..a621146 100644 --- a/seq.c +++ b/seq.c @@ -4,7 +4,7 @@ #include #define RANDLIMIT 5 -#define N 2000 +#define N 6000 #define NUMLIMIT 70.0 float a[N][N];