From 2072e7ff2037c19a0c346e60469949c9437569bf Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Sat, 16 Oct 2010 14:25:19 -0800 Subject: 1. refactoring histogram/logger so that classes are in header files 2. starting to redo cache_t 3. deleting more perf counters 4. other minor cleaning [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7869] --- src/gpgpu-sim/gpu-cache.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/gpgpu-sim/gpu-cache.h') diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h index ff071e0..21cdbbc 100644 --- a/src/gpgpu-sim/gpu-cache.h +++ b/src/gpgpu-sim/gpu-cache.h @@ -106,9 +106,9 @@ struct cache_block_t { #define RANDOM 'R' enum cache_write_policy { - no_writes, //line replacement when new line arrives - write_back, //line replacement when new line arrives - write_through //reservation based, use much handle reservation full error. + no_writes, // line replacement when new line arrives + write_back, // line replacement when new line arrives + write_through // reservation based, use much handle reservation full error. }; class cache_t { @@ -159,8 +159,6 @@ private: int m_core_id; // which shader core is using this int m_type_id; // what kind of cache is this (normal, texture, constant) - - class linear_histogram_logger *m_logger; }; #endif -- cgit v1.3