Review Board 2.0.15


stats: Implement code to manipulate vector2d stats in python

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

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.

   

Issue Summary

1 1 0 0
Description From Last Updated Status
I'm sure I'm being pedantic, but this is a bugfix for something else. Nathan Binkert Jan. 25, 2013, 1:08 a.m. Open
Review request changed
Updated (Jan. 28, 2013, 6:29 p.m.)

Description:

~  

Changeset 9490:f26679f6e429

  ~

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.

Diff:

Revision 2 (+31 -5)

Show changes

Ship it!
Posted (Jan. 29, 2013, 3:10 a.m.)
Ship It!