From 8d8fa45b0fa6bc3afcb65463890c38d1c9255ec0 Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Sat, 26 Jan 2013 13:50:40 -0800 Subject: Now even the power model log will have kernel names printed out. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15110] --- src/gpgpu-sim/gpu-sim.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 93b7b0c..c04c1c1 100644 --- a/src/gpgpu-sim/gpu-sim.h +++ b/src/gpgpu-sim/gpu-sim.h @@ -459,7 +459,8 @@ private: std::vector m_executed_kernel_names; //< names of kernel for stat printout std::vector 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; -- cgit v1.3