code: public long addMemoryTransaction(int deviceId, long timeSpentNanos, long numberOfBytes) {
          // default is H2H transaction
          return addMemoryTransaction(deviceId, timeSpentNanos, numberOfBytes, MemcpyDirection.HOST_TO_HOST);
      }
docs: This method stores bandwidth used for given transaction.
  
  PLEASE NOTE: Bandwidth is stored in per millisecond value.
  
  @param deviceId device used for this transaction
  @param timeSpent time spent on this transaction in nanoseconds
  @param numberOfBytes number of bytes