 }
 
 int main(int argc, char** argv) {
-  double iStart = cpuSecond();
+  double iStart = cpuSecondMonolitic();
 
   int width = 640, height = 480;
   double lowerX = -2, upperX = 2;

  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();
