Skip to content

Commit

Permalink
rt_graph: fix total time accumulation in flatten functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
AdhocMan committed Mar 17, 2021
1 parent ad515ea commit eb4c41d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/rt_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ auto flatten_timings_nodes(std::list<TimingNode>& rootNodes, std::list<TimingNod
// identifier already in rootNodes -> only append timings
it->timings.insert(it->timings.end(), n.timings.begin(), n.timings.end());
it->startTimes.insert(it->startTimes.end(), n.startTimes.begin(), n.startTimes.end());
it->totalTime += n.totalTime;
}
}

Expand Down

0 comments on commit eb4c41d

Please sign in to comment.