code: @Override
      public void onDialogRelease(MAPDialog mapDialog) {
          if (logger.isDebugEnabled()) {
              logger.debug(String.format("onDialogResease for DialogId=%d", mapDialog.getLocalDialogId()));
          }
          this.csvWriter.incrementCounter(SUCCESSFUL_DIALOGS);
          this.endCount++;
  
          if (this.endCount < NDIALOGS) {
              if ((this.endCount % 2000) == 0) {
                  long current = System.currentTimeMillis();
                  float sec = (float) (current - prev) / 1000f;
                  prev = current;
                  logger.warn("Completed 2000 Dialogs, dlg per a sec: " + (float) (2000 / sec));
              }
          } else {
              if (this.endCount == NDIALOGS) {
                  long current = System.currentTimeMillis();
                  logger.warn("Start Time = " + start);
                  logger.warn("Current Time = " + current);
                  float sec = (float) (current - start) / 1000f;
  
                  logger.warn("Total time in sec = " + sec);
                  logger.warn("Throughput = " + (float) (NDIALOGS / sec));
              }
          }
      }
docs: /*
  (non-Javadoc)
  
  @see org.restcomm.protocols.ss7.map.api.MAPDialogListener#onDialogResease
  (org.restcomm.protocols.ss7.map.api.MAPDialog)