Skip to content
Snippets Groups Projects

Issue #251 Adding a getAllTransactionsOfTask <String taskName>

Closed Issue #251 Adding a getAllTransactionsOfTask <String taskName>
Closed Le Van Truong requested to merge revert-883077ef into master
16 files
+ 293
6
Compare changes
  • Side-by-side
  • Inline
Files
16
@@ -247,6 +247,15 @@ int Bus::allTrans2XML(std::ostringstream& glob, int maxNbOfTrans) const {
return total;
}
int Bus::allTrans2XMLByTask(std::ostringstream& glob, std::string taskName) const {
int total = 0;
for(TransactionList::const_iterator i=_transactList.begin(); i != _transactList.end(); ++i){
(*i)->toXMLByTask(glob, 0, _name, _ID, taskName);
total ++;
}
return total;
}
void Bus::latencies2XML(std::ostringstream& glob, unsigned int id1, unsigned int id2) {
for(TransactionList::const_iterator i=_transactList.begin(); i != _transactList.end(); ++i){
Loading