stats: Fix issue when printing 2D vectors
authorSascha Bischoff <sascha.bischoff@arm.com>
Mon, 19 Aug 2013 07:52:29 +0000 (03:52 -0400)
committerSascha Bischoff <sascha.bischoff@arm.com>
Mon, 19 Aug 2013 07:52:29 +0000 (03:52 -0400)
commit6211c24a969735ecc9c83fceb59386c7d636253d
tree0b9069a68ad0f08d739689600006c713a23fa2e0
parente7e17f92db8b249aaf99eb93a2447937d78270d5
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.
src/base/stats/text.cc