sim: clocked object: function for converting cycles to ticks.
Review Request #2984 - Created July 21, 2015 and submitted
| Information | |
|---|---|
| Nilay Vaish | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10944:6cb4c95a0541 --------------------------- sim: clocked object: function for converting cycles to ticks.
Issue Summary
1
1
0
0
| Description | From | Last Updated | Status |
|---|---|---|---|
| Minor: Can you please add a comment on this function and ticksToCycles that these should only be used to convert ... | Joel Hestness | July 31, 2015, 4:24 p.m. | Open |
Seems fine to me. Just a minor request below.
-
src/sim/clocked_object.hh (Diff revision 1) -
Minor: Can you please add a comment on this function and ticksToCycles that these should only be used to convert ticks<->cycles over time periods during which it is known that the clockPeriod() has not changed/will not change? They should probably not be used to schedule absolute time events, since frequency changes could throw these off.
