base.hh (5529:9ae69b9cd7fd) | base.hh (5536:17c0c17726ff) |
---|---|
1/* 2 * Copyright (c) 2002-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; --- 108 unchanged lines hidden (view full) --- 117 118 bool check_interrupts(ThreadContext * tc) const 119 { return interrupts.check_interrupts(tc); } 120 121 class ProfileEvent : public Event 122 { 123 private: 124 BaseCPU *cpu; | 1/* 2 * Copyright (c) 2002-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; --- 108 unchanged lines hidden (view full) --- 117 118 bool check_interrupts(ThreadContext * tc) const 119 { return interrupts.check_interrupts(tc); } 120 121 class ProfileEvent : public Event 122 { 123 private: 124 BaseCPU *cpu; |
125 int interval; | 125 Tick interval; |
126 127 public: | 126 127 public: |
128 ProfileEvent(BaseCPU *cpu, int interval); | 128 ProfileEvent(BaseCPU *cpu, Tick interval); |
129 void process(); 130 }; 131 ProfileEvent *profileEvent; 132#endif 133 134 protected: 135 std::vector<ThreadContext *> threadContexts; 136 std::vector<TheISA::Predecoder *> predecoders; --- 140 unchanged lines hidden --- | 129 void process(); 130 }; 131 ProfileEvent *profileEvent; 132#endif 133 134 protected: 135 std::vector<ThreadContext *> threadContexts; 136 std::vector<TheISA::Predecoder *> predecoders; --- 140 unchanged lines hidden --- |