summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2013-01-26 13:50:40 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:24 -0700
commit8d8fa45b0fa6bc3afcb65463890c38d1c9255ec0 (patch)
treeb656b84fc3623a20e17c8b9620111cbd231ccf62 /src/gpgpu-sim/gpu-sim.h
parentb3de117ec61c3b59dc386562dc821fed6627e38b (diff)
Now even the power model log will have kernel names printed out.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15110]
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
-rw-r--r--src/gpgpu-sim/gpu-sim.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h
index 93b7b0c..c04c1c1 100644
--- a/src/gpgpu-sim/gpu-sim.h
+++ b/src/gpgpu-sim/gpu-sim.h
@@ -459,7 +459,8 @@ private:
std::vector<std::string> m_executed_kernel_names; //< names of kernel for stat printout
std::vector<unsigned> m_executed_kernel_uids; //< uids of kernel launches for stat printout
-
+ std::string executed_kernel_info_string(); //< format the kernel information into a string for stat printout
+ void clear_executed_kernel_info(); //< clear the kernel information after stat printout
public:
unsigned long long gpu_sim_insn;