Skip to content
Snippets Groups Projects
Commit b39798b9 authored by apvrille's avatar apvrille
Browse files

Update on FPGA: xml with ID

parent a311edcb
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment