Add parameters for backwards and forwards sizes for time buffers.

src/base/timebuf.hh:
    Add a function to return the size of the time buffer.

--HG--
extra : convert_revision : 8ffacd8b9013eb76264df065244e00dc1460efd4
This commit is contained in:
Kevin Lim
2006-07-10 15:40:28 -04:00
parent 43245d9c2f
commit fcaafdc48c
6 changed files with 34 additions and 17 deletions

View File

@@ -215,6 +215,11 @@ class TimeBuffer
{
return wire(this, 0);
}
int getSize()
{
return size;
}
};
#endif // __BASE_TIMEBUF_HH__