From 319d541210cf1c5c00d11f8f9bb41dee7d7d8f76 Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Tue, 8 May 2012 18:19:15 -0800 Subject: A much easier way to attempt to fix the problem targeted by CL12362 is to just print the stats whenever a kernel is done. This requires decoupling updating the stats from printing them and modifying the printing code to accomodate this change. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12366] --- src/gpgpu-sim/gpu-sim.h | 1 + 1 file changed, 1 insertion(+) (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 208cfb8..e77f859 100644 --- a/src/gpgpu-sim/gpu-sim.h +++ b/src/gpgpu-sim/gpu-sim.h @@ -237,6 +237,7 @@ public: void cycle(); bool active(); void print_stats(); + void update_stats(); void deadlock_check(); void get_pdom_stack_top_info( unsigned sid, unsigned tid, unsigned *pc, unsigned *rpc ); -- cgit v1.3