Nature Language: setReportParams:Sets the numReps and benchTime for a certain datasize
  
CPP: int setReportParams(int size, int reps, double time){\n    benchReport.dataSize = size; \n    benchReport.numReps = reps; \n    benchReport.benchTime = time; \n    benchReport.timePerRep = time / reps; \n    \n    if (benchReport.benchNumber <= LAST_PT_PT_ID){\n        /* dataSize x numThreads x sizeof(int) */\n        benchReport.bytes = size * benchReport.numThreads * sizeInteger; \n    } else if (benchReport.benchNumber <= LASTMULTIPPID){\n        benchReport.bytes = size * benchReport.numThreads * sizeInteger * localCommSize; \n    } else {\n        benchReport.bytes = size * sizeInteger; \n    } \n    \n    return 0; \n}",
  
Fortran: SUBROUTINE setReportParams(size,reps,time)\n integer, intent(in) :: size, reps\n DOUBLE PRECISION, intent(in) :: time\n\n benchReport%dataSize = size\n benchReport%numReps = reps\n benchReport%benchTime = time\n !Calculate and set time for 1 rep\n benchReport%timePerRep = time/reps\n !Calculate the size of message in bytes\n IF (benchReport%benchNumber <= LAST_PT_PT_ID) THEN\n !If point to point benchmark size of msg is \n !dataSize * numThreads * sizeof(integer)\n benchReport%bytes = size * numThreads * sizeInteger\n ELSE IF (benchReport%benchNumber <= LASTMULTIPPID) THEN\n !If multi point to point benchmark size of msg is \n !the size of the message leaving each node.\n benchReport%bytes = size * numThreads * sizeInteger * localCommSize\n ELSE\n benchReport%bytes = size * sizeInteger\n END IF\n\n END SUBROUTINE setReportParams
  