cleanup
This commit is contained in:
@@ -32,18 +32,12 @@ public:
|
||||
CacheSim::PerfStats dcache;
|
||||
SharedMem::PerfStats sharedmem;
|
||||
CacheSim::PerfStats l2cache;
|
||||
CacheSim::PerfStats tcache;
|
||||
CacheSim::PerfStats ocache;
|
||||
CacheSim::PerfStats rcache;
|
||||
|
||||
PerfStats& operator+=(const PerfStats& rhs) {
|
||||
this->icache += rhs.icache;
|
||||
this->dcache += rhs.dcache;
|
||||
this->sharedmem += rhs.sharedmem;
|
||||
this->l2cache += rhs.l2cache;
|
||||
this->tcache += rhs.tcache;
|
||||
this->ocache += rhs.ocache;
|
||||
this->rcache += rhs.rcache;
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user