summaryrefslogtreecommitdiff
path: root/src/cpu/o3/cpu.hh
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2008-10-23 16:49:17 -0400
committerLisa Hsu <hsul@eecs.umich.edu>2008-10-23 16:49:17 -0400
commit8788d703f81cef20916ffd2c7e0d28031cf65df8 (patch)
tree48795566574ac52ef9183f8ada9b60874df2bc04 /src/cpu/o3/cpu.hh
parent546a6c0c1b6dfc23bac1f74c6adec413931c6608 (diff)
downloadgem5-8788d703f81cef20916ffd2c7e0d28031cf65df8.tar.xz
s/cpu_id/cpuId in o3 (to be consistent and match style), also fix some typos in
comments.
Diffstat (limited to 'src/cpu/o3/cpu.hh')
-rw-r--r--src/cpu/o3/cpu.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/o3/cpu.hh b/src/cpu/o3/cpu.hh
index 8cfc9affa..d1cc8bea5 100644
--- a/src/cpu/o3/cpu.hh
+++ b/src/cpu/o3/cpu.hh
@@ -76,13 +76,13 @@ class BaseO3CPU : public BaseCPU
void regStats();
/** Sets this CPU's ID. */
- void setCpuId(int id) { cpu_id = id; }
+ void setCpuId(int id) { cpuId = id; }
/** Reads this CPU's ID. */
- int readCpuId() { return cpu_id; }
+ int readCpuId() { return cpuId; }
protected:
- int cpu_id;
+ int cpuId;
};
/**