Review Board 2.0.15


stats: Implement code to manipulate vector2d stats in python

Review Request #1637 - Created Jan. 15, 2013 and updated - Latest diff uploaded

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9514:49b7545d94ab
---------------------------
stats: Implement code to manipulate vector2d stats in python

This patch adds functionality to the vector2d stat type in python. It allows:
    Testing for equality
    Adding two vector2d stats together
    Subtracting one vector2d from another
    Dividing a vector2d stat by a scalar

This funtionality is already present for all other stats in the python module.