base.hh (10529:05b5a6cf3521) base.hh (10662:c3fd4c020e49)
1/*
2 * Copyright (c) 2011-2013 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

104
105 virtual const char *description() const;
106};
107
108class BaseCPU : public MemObject
109{
110 protected:
111
1/*
2 * Copyright (c) 2011-2013 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

104
105 virtual const char *description() const;
106};
107
108class BaseCPU : public MemObject
109{
110 protected:
111
112 // @todo remove me after debugging with legion done
112 /// Instruction count used for SPARC misc register
113 /// @todo unify this with the counters that cpus individually keep
113 Tick instCnt;
114 Tick instCnt;
115
114 // every cpu has an id, put it in the base cpu
115 // Set at initialization, only time a cpuId might change is during a
116 // takeover (which should be done from within the BaseCPU anyway,
117 // therefore no setCpuId() method is provided
118 int _cpuId;
119
120 /** Each cpu will have a socket ID that corresponds to its physical location
121 * in the system. This is usually used to bucket cpu cores under single DVFS

--- 447 unchanged lines hidden ---
116 // every cpu has an id, put it in the base cpu
117 // Set at initialization, only time a cpuId might change is during a
118 // takeover (which should be done from within the BaseCPU anyway,
119 // therefore no setCpuId() method is provided
120 int _cpuId;
121
122 /** Each cpu will have a socket ID that corresponds to its physical location
123 * in the system. This is usually used to bucket cpu cores under single DVFS

--- 447 unchanged lines hidden ---