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-sim.h | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'src/gpgpu-sim/gpu-sim.h') diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h index 0ba1bb8..762cea2 100644 --- a/src/gpgpu-sim/gpu-sim.h +++ b/src/gpgpu-sim/gpu-sim.h @@ -153,18 +153,16 @@ struct memory_config { // global config extern int gpgpu_mem_address_mask; - extern int gpu_runtime_stat_flag; extern int gpgpu_cflog_interval; - extern bool g_interactive_debugger_enabled; - extern int g_ptx_inst_debug_to_file; extern char* g_ptx_inst_debug_file; extern int g_ptx_inst_debug_thread_uid; - - +// global counters +extern unsigned long long gpu_sim_cycle; +extern unsigned long long gpu_tot_sim_cycle; class gpgpu_sim : public gpgpu_t { public: @@ -279,15 +277,4 @@ public: unsigned gpu_sim_insn_last_update_sid; }; -// global counters - -extern unsigned long long gpu_sim_cycle; -extern unsigned long long gpu_tot_sim_cycle; -extern unsigned g_next_mf_request_uid; - -// stats - -extern unsigned int gpgpu_n_sent_writes; -extern unsigned int gpgpu_n_processed_writes; - #endif -- cgit v1.3