base: add some mathematical operators to Cycles class
Review Request #1669 - Created Jan. 25, 2013 and submitted
| Information | |
|---|---|
| Nilay Vaish | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9496:96c5401984f8 --------------------------- base: add some mathematical operators to Cycles class
Issue Summary
2
1
1
0
| Description | From | Last Updated | Status |
|---|---|---|---|
| I don't really like the idea of the shift operators for a Cycle count. It feels really unintuitive to me. ... | Andreas Hansson | Jan. 31, 2013, 6:20 p.m. | Open |
Posted (Jan. 31, 2013, 6:20 p.m.)
-
src/base/types.hh (Diff revision 1) -
I'm not a big fan of the - operator. Is it really needed? If it is used in many places, can we at least add an assert(c >= b.c)?
-
src/base/types.hh (Diff revision 1) -
I don't really like the idea of the shift operators for a Cycle count. It feels really unintuitive to me. Why are these needed?
Review request changed
Updated (Jan. 31, 2013, 8:44 p.m.)
Description: |
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+12) |
