atomic.hh (5315:30997e988446) | atomic.hh (5336:c7e21f4e5a2e) |
---|---|
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; --- 54 unchanged lines hidden (view full) --- 63 private: 64 65 struct TickEvent : public Event 66 { 67 AtomicSimpleCPU *cpu; 68 69 TickEvent(AtomicSimpleCPU *c); 70 void process(); | 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; --- 54 unchanged lines hidden (view full) --- 63 private: 64 65 struct TickEvent : public Event 66 { 67 AtomicSimpleCPU *cpu; 68 69 TickEvent(AtomicSimpleCPU *c); 70 void process(); |
71 const char *description(); | 71 const char *description() const; |
72 }; 73 74 TickEvent tickEvent; 75 76 const int width; 77 const bool simulate_stalls; 78 79 // main simulation loop (one cycle) --- 88 unchanged lines hidden --- | 72 }; 73 74 TickEvent tickEvent; 75 76 const int width; 77 const bool simulate_stalls; 78 79 // main simulation loop (one cycle) --- 88 unchanged lines hidden --- |