updated to D_p = T_Dp / T_p and avoid all D_p higher than the number of tasks used

This commit is contained in:
Caner Candan 2010-11-22 18:08:58 +01:00
commit 4059e16b1e

View file

@ -124,19 +124,24 @@ int main(int ac, char** av)
double efficiency = speedup / nbtask;
double dynamicity = Tp / Tpd;
speedupFile << speedup << ' ';
efficiencyFile << efficiency << ' ';
dynamicityFile << dynamicity << ' ';
eo::log << eo::debug;
eo::log << "Ts = " << Ts << std::endl;
eo::log << "Tp = " << Tp << std::endl;
eo::log << "Tpd = " << Tpd << std::endl;
eo::log << "S_p = " << speedup << std::endl;
eo::log << "E_p = " << efficiency << std::endl;
double dynamicity = Tpd / Tp;
if ( dynamicity > nbtask ) { continue; }
eo::log << "Tpd = " << Tpd << std::endl;
eo::log << "D_p = " << dynamicity << std::endl;
dynamicityFile << dynamicity << ' ';
} // end of runs
speedupFile << std::endl;