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 |
-
src/python/m5/stats/info.py (Diff revision 1) -
I'm sure I'm being pedantic, but this is a bugfix for something else.
Review request changed
Updated (Jan. 28, 2013, 6:29 p.m.)
Description: |
|
||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+31 -5) |
