Skip to content

Commit

Permalink
- output cpCosts for level-Scheduling
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24790 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Volker Waurich committed Feb 26, 2015
1 parent 54bb76f commit 01a71e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Compiler/BackEnd/HpcOmScheduler.mo
Expand Up @@ -5577,9 +5577,12 @@ algorithm
parTime := realSum(levelCosts);
parTime := HpcOmTaskGraph.roundReal(parTime,2);
oCriticalPathInfo := HpcOmTaskGraph.dumpCriticalPathInfo((criticalPaths,cpCosts),(criticalPathsWoC,cpCostsWoC));
cpCostsWoC := HpcOmTaskGraph.roundReal(cpCostsWoC,2);

if Flags.isSet(Flags.HPCOM_DUMP) then
print("the serialCosts: "+realString(serTime)+"\n");
print("the parallelCosts: "+realString(parTime)+"\n");
print("the cpCosts: "+realString(cpCostsWoC)+"\n");
i := 1;
for levelCost in levelCosts loop
costShare := intDiv(realInt(levelCost)*100,realInt(parTime));
Expand Down

0 comments on commit 01a71e1

Please sign in to comment.