56 for (
int i = 0; i < pipeline.
latency(); ++i) {
59 TTAMachine::ExecutionPipeline::ResourceSet::const_iterator res =
60 resourceUsages.begin();
61 while (res != resourceUsages.end()) {
62 resources_.at(i).insert(std::string(
"res:") + (*res)->name());
69 TTAMachine::ExecutionPipeline::OperandSet::const_iterator op =
71 while (op != readOperands.end()) {
79 op = writtenOperands.begin();
80 while (op != writtenOperands.end()) {
118 std::string theString =
"";
119 for (
unsigned cycle = 0; cycle <
resources_.size(); ++cycle) {
123 for (ResourceSet::const_iterator i = resSet.begin();
124 i != resSet.end();) {
127 if (i != resSet.end())
157 for (std::size_t c = cycle; c <
resources_.size(); ++c) {
159 if (other.
width() <= c - cycle)
167 if (thisResources.size() == 0 || otherResources.size() == 0)
172 ResourceSet::const_iterator i = thisResources.begin();
173 while (i != thisResources.end()) {
174 if (otherResources.find(*i) != otherResources.end())
198 for (std::size_t i = 0; i < other.
width(); ++i) {
201 otherResources.begin(), otherResources.end());