summaryrefslogtreecommitdiff
path: root/src/base/timebuf.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/timebuf.hh')
-rw-r--r--src/base/timebuf.hh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/base/timebuf.hh b/src/base/timebuf.hh
index 6a326d25a..a484a3179 100644
--- a/src/base/timebuf.hh
+++ b/src/base/timebuf.hh
@@ -25,7 +25,8 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * Authors: Kevin Lim
+ * Authors: Nathan Binkert
+ * Kevin Lim
*/
#ifndef __BASE_TIMEBUF_HH__
@@ -214,6 +215,11 @@ class TimeBuffer
{
return wire(this, 0);
}
+
+ int getSize()
+ {
+ return size;
+ }
};
#endif // __BASE_TIMEBUF_HH__