-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/1952/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 9820:e04841740635
---------------------------
stats: Fix issue when printing 2D vectors

This patch addresses an issue with the text-based stats output which
resulted in Vector2D stats being printed without subnames in the event
that one of the dimensions was of length 1.

This patch also fixes the total printing for the 2D vector. Previously
totals were printed without explicitly stating that a total was being
printed. This has been rectified in this patch.


Diffs
-----

  src/base/stats/text.cc 13ffc0066b76 

Diff: http://reviews.gem5.org/r/1952/diff/


Testing
-------

All regressions pass after appending ::total and the second dimension name to 
the places where only one item was stored (e.g. pkt_count for the toL2Bus)


Thanks,

Andreas Hansson

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to