Fixed time measuring bug in stencil3d load-balancing example36/1836/9
commitcd20183f14a3ce5b63907f0eea1181e34d53f5a4
authorJaemin Choi <jchoi157@illinois.edu>
Thu, 8 Sep 2016 21:53:09 +0000 (8 16:53 -0500)
committerSam White <white67@illinois.edu>
Wed, 19 Oct 2016 02:50:43 +0000 (18 21:50 -0500)
treed0902e48d3b86cc4cc585f8933d0c04925571961
parentdefdd160818a16e3dc758a7d7650bc7adc54d26e
Fixed time measuring bug in stencil3d load-balancing example

Time measurement should only be done in the first(0,0,0) chare.
The variable startTime should be local to only that chare, as it
may migrate due to load balancing.

Change-Id: I3358e4e06eb3609b2d0be5558d616505b4810dc0
examples/charm++/load_balancing/stencil3d/stencil3d.C