Commit 3d40f2a6 authored by Nandhana Sakhtivel's avatar Nandhana Sakhtivel
Browse files

Changes in total time calculation

parent 515c0d6a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6,6 +6,10 @@

void init(int index)
{

   clock_gettime(CLOCK_MONOTONIC, &begin0);
   start0 = clock();

   // DAV: the corresponding KernelLen is calculated within the wstack function. It can be anyway hardcoded for optimization
   dx = 1.0/(double)param.grid_size_x;
   dw = 1.0/(double)param.num_w_planes;
+1 −3
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
int main(int argc, char * argv[])
{


        if(argc > 1)
        {
          strcpy(in.paramfile,argv[1]);
@@ -17,9 +18,6 @@ int main(int argc, char * argv[])
          exit(1);
        }
 
        clock_gettime(CLOCK_MONOTONIC, &begin0);
   	start0 = clock();

        /* Initializing MPI Environment */

        #ifdef USE_MPI