void SamplerSMARTS::updateCPI(FlowID fid){ //extract cpi of last sample interval estCPI = getMeaCPI(); return; }
void SamplerPeriodic::loadPredCPI() { if (!BootLoader::getPowerModelPtr()->predictionStatus()) estCPI = getMeaCPI(); updateIntervalRatio(); }
void SamplerPeriodic::dumpCPI() { static bool first = true; static FILE *log; if (first) { log = genReportFileNameAndOpen("cpi_"); first = false; } fprintf(log, "fid%d %g\n", sFid, getMeaCPI()); }
void SamplerPeriodic::insertNewCPI() { cpiHist[headPtr] = getMeaCPI(); }