base.hh (4776:8c8407243a2c) base.hh (5099:8ff1345b3ae4)
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;

--- 70 unchanged lines hidden (view full) ---

79 // @todo remove me after debugging with legion done
80 Tick instCnt;
81
82 public:
83// Tick currentTick;
84 inline Tick frequency() const { return Clock::Frequency / clock; }
85 inline Tick cycles(int numCycles) const { return clock * numCycles; }
86 inline Tick curCycle() const { return curTick / clock; }
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;

--- 70 unchanged lines hidden (view full) ---

79 // @todo remove me after debugging with legion done
80 Tick instCnt;
81
82 public:
83// Tick currentTick;
84 inline Tick frequency() const { return Clock::Frequency / clock; }
85 inline Tick cycles(int numCycles) const { return clock * numCycles; }
86 inline Tick curCycle() const { return curTick / clock; }
87 inline Tick tickToCycles(Tick val) const { return val / clock; }
87 // @todo remove me after debugging with legion done
88 Tick instCount() { return instCnt; }
89
90 /** The next cycle the CPU should be scheduled, given a cache
91 * access or quiesce event returning on this cycle. This function
92 * may return curTick if the CPU should run on the current cycle.
93 */
94 Tick nextCycle();

--- 207 unchanged lines hidden ---
88 // @todo remove me after debugging with legion done
89 Tick instCount() { return instCnt; }
90
91 /** The next cycle the CPU should be scheduled, given a cache
92 * access or quiesce event returning on this cycle. This function
93 * may return curTick if the CPU should run on the current cycle.
94 */
95 Tick nextCycle();

--- 207 unchanged lines hidden ---