diff options
Diffstat (limited to 'src/mem/ruby/network/garnet/flexible-pipeline/flit.cc')
-rw-r--r-- | src/mem/ruby/network/garnet/flexible-pipeline/flit.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/flit.cc b/src/mem/ruby/network/garnet/flexible-pipeline/flit.cc index 1227b70f0..2f5944c62 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/flit.cc +++ b/src/mem/ruby/network/garnet/flexible-pipeline/flit.cc @@ -113,6 +113,18 @@ flit::get_type() } void +flit::set_delay(int delay) +{ + src_delay = delay; +} + +int +flit::get_delay() +{ + return src_delay; +} + +void flit::print(std::ostream& out) const { out << "[flit:: "; |