   Offset offset(lowerX, upperX, lowerY, upperY);
   generateImage(width, height, offset, maxThreads, filename, quiet);
 
-  double iElaps = cpuSecond() - iStart;
+  double iElaps = cpuSecondMonolitic() - iStart;
   // if (!quiet)
     printf("Total execution time for this run: %lf\n", iElaps);
 

  bitmap.pixels = new Pixel[pixelsCount];
  cudaMemcpy(bitmap.pixels, devicePixels, pixelsSize, cudaMemcpyDeviceToHost);

  double iElaps = cpuSecond() - iStart;
  // if (!quiet)
    printf("Execution time on gpu: %lf\n", iElaps);

  writePNG(bitmap, filename);


  dim3 threadsPerBlock(threadsPerBlock1dim, threadsPerBlock1dim);
  dim3 numBlocks(numBlocksX, numBlocksY);

  // TIMINGS
  double iStartMonolitic = cpuSecondMonolitic();

  calc<<<numBlocks, threadsPerBlock>>>(offset, bitmap, quiet);
  cudaDeviceSynchronize();
