1 2 3 4 5 6 7 8 9 10 11 12
#include "booksim.hpp" #include "flit.hpp" ostream& operator<<( ostream& os, const Flit& f ) { os << " Flit ID: " << f.id << " (" << &f << ")" << " Head: " << f.head << " Tail: " << f.tail << endl; os << " Source : " << f.src << " Dest : " << f.dest << endl; os << " Injection time : " << f.time << endl; return os; }