system_events.hh (2680:246e7104f744) | system_events.hh (2716:b9114064d77a) |
---|---|
1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 31 unchanged lines hidden (view full) --- 40{ 41 public: 42 SkipFuncEvent(PCEventQueue *q, const std::string &desc, Addr addr) 43 : PCEvent(q, desc, addr) 44 {} 45 virtual void process(ThreadContext *tc); 46}; 47 | 1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 31 unchanged lines hidden (view full) --- 40{ 41 public: 42 SkipFuncEvent(PCEventQueue *q, const std::string &desc, Addr addr) 43 : PCEvent(q, desc, addr) 44 {} 45 virtual void process(ThreadContext *tc); 46}; 47 |
48class FnEvent : public PCEvent 49{ 50 public: 51 FnEvent(PCEventQueue *q, const std::string &desc, Addr addr, 52 Stats::MainBin *bin); 53 virtual void process(ThreadContext *tc); 54 std::string myname() const { return _name; } 55 56 private: 57 std::string _name; 58 Stats::MainBin *mybin; 59}; 60 | |
61class IdleStartEvent : public PCEvent 62{ 63 public: 64 IdleStartEvent(PCEventQueue *q, const std::string &desc, Addr addr) 65 : PCEvent(q, desc, addr) 66 {} 67 virtual void process(ThreadContext *tc); 68}; 69 | 48class IdleStartEvent : public PCEvent 49{ 50 public: 51 IdleStartEvent(PCEventQueue *q, const std::string &desc, Addr addr) 52 : PCEvent(q, desc, addr) 53 {} 54 virtual void process(ThreadContext *tc); 55}; 56 |
70class InterruptStartEvent : public PCEvent 71{ 72 public: 73 InterruptStartEvent(PCEventQueue *q, const std::string &desc, Addr addr) 74 : PCEvent(q, desc, addr) 75 {} 76 virtual void process(ThreadContext *tc); 77}; 78 79class InterruptEndEvent : public PCEvent 80{ 81 public: 82 InterruptEndEvent(PCEventQueue *q, const std::string &desc, Addr addr) 83 : PCEvent(q, desc, addr) 84 {} 85 virtual void process(ThreadContext *tc); 86}; 87 88 | |
89#endif // __SYSTEM_EVENTS_HH__ | 57#endif // __SYSTEM_EVENTS_HH__ |