Review Board 2.0.15


stats: Add sparse histogram to python stats

Review Request #1640 - Created Jan. 15, 2013 and updated

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9517:a625622cd8a1
---------------------------
stats: Add sparse histogram to python stats

This patch adds the sparse histogram to the python stats. This histogram is
not contiguous, and values are stored as an std::map in C++. When this is
moved into python using SWIG it is stored as a python dictionary.

When generating the text based statistics output, the histogram is stored
in the same way as in the old C++ based statistics system.

When generating the SQL based output the sparse histogram is stored into
a separate table. This is neccessary as the columns required to store the
histogram are not compatible with any other other distributions.

Currently the sparse histogram is only used in the communication monitor to
store the address map.
Ran with CommMonitor

Issue Summary

1 0 1 0
Review request changed
Updated (Jan. 28, 2013, 6:37 p.m.)

Description:

~  

Changeset 9493:430ecba5ac1b

  ~

Changeset 9517:a625622cd8a1

   
   

stats: Add sparse histogram to python stats

   
   

This patch adds the sparse histogram to the python stats. This histogram is

~   not continious, and values are stored as an std::map in C++. When this is
  ~ not contiguous, and values are stored as an std::map in C++. When this is
    moved into python using SWIG it is stored as a python dictionary.

   
   

When generating the text based statistics output, the histogram is stored

    in the same way as in the old C++ based statistics system.

   
   

When generating the SQL based output the sparse histogram is stored into

    a separate table. This is neccessary as the columns required to store the
    histogram are not compatible with any other other distributions.

   
   

Currently the sparse histogram is only used in the communication monitor to

    store the address map.

Diff:

Revision 2 (+232 -2)

Show changes

Ship it!
Posted (Jan. 29, 2013, 3:09 a.m.)
Ship It!