summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/mem_latency_stat.cc
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-08-23 09:39:43 -0800
committerTor Aamodt <[email protected]>2010-08-23 09:39:43 -0800
commit5e8eced64a8262b0190c4014e59b93c37ba3af9c (patch)
tree45cbf2cc87a2671c86548d645ef982f6b68373b3 /src/gpgpu-sim/mem_latency_stat.cc
parent83a96bb39177a0767c6d851f4fe3ff92757652f5 (diff)
- add '-keep' option to keep intermediate files (used for OpenCL only right now)
- remove redundant initialization code of options (which confuses new users) - make bool option variables bool type - remove some more extern decls [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7247]
Diffstat (limited to 'src/gpgpu-sim/mem_latency_stat.cc')
-rw-r--r--src/gpgpu-sim/mem_latency_stat.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gpgpu-sim/mem_latency_stat.cc b/src/gpgpu-sim/mem_latency_stat.cc
index 19cc76b..625e54f 100644
--- a/src/gpgpu-sim/mem_latency_stat.cc
+++ b/src/gpgpu-sim/mem_latency_stat.cc
@@ -73,18 +73,13 @@
#include "stat-tool.h"
#include "../cuda-sim/ptx-stats.h"
#include "visualizer.h"
+#include "dram.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
-extern unsigned int gpu_n_mem;
-extern unsigned int gpu_n_shader;
-extern int gpgpu_dram_sched_queue_size;
-extern int gpgpu_dram_scheduler;
-extern unsigned int gpu_mem_n_bk;
-
-bool gpgpu_memlatency_stat = false;
+bool gpgpu_memlatency_stat;
unsigned max_mrq_latency;
unsigned max_dq_latency;