Commit b39798b9 authored by apvrille's avatar apvrille

Update on FPGA: xml with ID

parent a311edcb
......@@ -388,7 +388,7 @@ int FPGA::allTrans2XML(std::ostringstream& glob, int maxNbOfTrans) const {
int total = 0;
for(TransactionList::const_iterator i=_transactList.begin(); i != _transactList.end(); ++i){
if (cpt >= begining) {
(*i)->toXML(glob, 0, _name);
(*i)->toXML(glob, 0, _name, _ID);
total ++;
}
cpt ++;
......@@ -401,7 +401,7 @@ void FPGA::latencies2XML(std::ostringstream& glob, unsigned int id1, unsigned in
for(TransactionList::const_iterator i=_transactList.begin(); i != _transactList.end(); ++i){
if ((*i)->getCommand() !=NULL){
if ((*i)->getCommand()->getID() == id1 || (*i)->getCommand()->getID() == id2){
(*i)->toXML(glob, 0, _name);
(*i)->toXML(glob, 0, _name, _ID);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment