Changeset 2037 in Sophya for trunk/ArchTOIPipe/Kernel
- Timestamp:
- May 31, 2002, 10:10:58 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/cgt.cc
r2000 r2037 11 11 12 12 #include "cgt.h" 13 #include <typeinfo> 13 14 #include "toiseqbuff.h" 14 15 #include "toisegment.h" … … 108 109 // for(it = lesProcs.begin(); it != lesProcs.end(); it++) { 109 110 for(int i=0; i< lesProcs.size(); i++) { 110 os << " >> Proc Id= " << i << " @ " << hex << lesProcs[i] << dec << endl; 111 os << " >> Proc Id= " << i << " @ " << hex << lesProcs[i] << dec ; 112 string ctyp = typeid(*lesProcs[i]).name(); 113 os << " Type= " << ctyp << endl; 111 114 if (prstat) lesProcs[i]->PrintStatus(os); 112 115 } … … 115 118 void CGT::ListTOIs(::ostream& os, bool prstat) 116 119 { 117 os << " --- CGT::ListTOIs() , Nb Procs=" << lesTuyaux.size();120 os << " --- CGT::ListTOIs() , NbTOIs=" << lesTuyaux.size(); 118 121 if ( fgSegmented ) os << " Default TOI: TOISegmented " << endl; 119 122 else os << " Default TOI: TOISeqBuffered " << endl; … … 121 124 os << " >> TOI " << lesTuyaux[i].toi->getName() << " Connecting Procs (Id): " 122 125 << lesTuyaux[i].pr1id << " <---> " << lesTuyaux[i].pr2id << endl; 123 if (prstat) lesTuyaux[i].toi->PrintStatus(os); 126 if (prstat > 1) lesTuyaux[i].toi->PrintStatus(os); 127 else if (prstat == 1) 128 os << " PutCountWait= " << lesTuyaux[i].toi->getCountWaitPut() 129 << " GetCountWait= " << lesTuyaux[i].toi->getCountWaitGet() << endl; 124 130 } 125 131 }
Note:
See TracChangeset
for help on using the changeset viewer.