Commit a9b5090b authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Bring average calculation tags to the same scope

parent 6fe796da
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -969,10 +969,6 @@ int cluster_jxi488_cycle(
      return jer;
      // break; // jxi488 loop: goes to memory clean
    }
    interval_start = chrono::high_resolution_clock::now();
#ifdef USE_NVTX
    nvtxRangePush("Average calculation");
#endif // USE_NVTX
    ztm(cid->am, cid->c1);
#ifdef DEBUG_AM
    VirtualAsciiFile *outam3 = new VirtualAsciiFile();
@@ -988,6 +984,10 @@ int cluster_jxi488_cycle(
    delete outam3;
#endif // DEBUG_AM
  }
  interval_start = chrono::high_resolution_clock::now();
#ifdef USE_NVTX
  nvtxRangePush("Average calculation");
#endif // USE_NVTX
  if (idfc >= 0) {
    if (jxi488 == jwtm) {
      int nlemt = 2 * cid->c1->nlem;