ruby: profiler: statically allocate stats variable
authorNilay Vaish <nilay@cs.wisc.edu>
Sun, 2 Mar 2014 05:35:21 +0000 (23:35 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Sun, 2 Mar 2014 05:35:21 +0000 (23:35 -0600)
commita533f3f9831081625626f96f9434a00f3079e98e
treea83c2cd3c873bc4977be9d06305dfc43083367e8
parent53f697a6166a6fe2787882f3448e73a8ebb849aa
ruby: profiler: statically allocate stats variable
Couple of users observed segmentation fault when the simulator tries to
register the statistical variable m_IncompleteTimes.  It seems that there
is some problem with the initialization of these variables when allocated
in the constructor.
src/mem/ruby/profiler/Profiler.cc
src/mem/ruby/profiler/Profiler.hh