Review Board 2.0.15


ruby: Fix double statistic registration in garnet

Review Request #3539 - Created June 29, 2016 and submitted - Latest diff uploaded

Information
Matthew Poremba
gem5
default
Reviewers
Default
Changeset 11549:983f44e21307
---------------------------
ruby: Fix double statistic registration in garnet

Currently garnet will not run due to double statistic registration of new
stats in ClockedObject. This occurs because a temporary array named 'cls'
is being added as a child to garnet internal and external link SimObjects.
This patch simply renames the temporary array which prevents it from
being added as a child object and avoids the assertion that a statistic
was already registered.

Garnet runs with patch applied.