Message.hh (6149:ff34514cbf37) | Message.hh (6154:6bb54dcb940e) |
---|---|
1 2/* 3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 30/* 31 * $Id$ 32 */ 33 34#ifndef MESSAGE_H 35#define MESSAGE_H 36 | 1 2/* 3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 30/* 31 * $Id$ 32 */ 33 34#ifndef MESSAGE_H 35#define MESSAGE_H 36 |
37#include "Global.hh" 38#include "RefCnt.hh" 39#include "RefCountable.hh" 40#include "RubyEventQueue.hh" | 37#include "mem/ruby/common/Global.hh" 38#include "mem/gems_common/RefCnt.hh" 39#include "mem/gems_common/RefCountable.hh" 40#include "mem/ruby/eventqueue/RubyEventQueue.hh" |
41 42class Message; 43typedef RefCnt<Message> MsgPtr; 44 45class Message : public RefCountable { 46public: 47 // Constructors 48 Message() : RefCountable() { m_time = g_eventQueue_ptr->getTime(); m_LastEnqueueTime = g_eventQueue_ptr->getTime(); m_DelayedCycles = 0;} --- 43 unchanged lines hidden --- | 41 42class Message; 43typedef RefCnt<Message> MsgPtr; 44 45class Message : public RefCountable { 46public: 47 // Constructors 48 Message() : RefCountable() { m_time = g_eventQueue_ptr->getTime(); m_LastEnqueueTime = g_eventQueue_ptr->getTime(); m_DelayedCycles = 0;} --- 43 unchanged lines hidden --- |