Hi guys,

I would like to generate some stats that allow me to map an index to a
string, instead of an index to a number. Stats::Vector doesn't allow me to
do that, however. In other words, I want something like a string array
instead of an integer array for recording stats.

Here's what I've tried on my own so far

   - I checked the Statistics wiki page, but nothing there indicates string
   stats
   - I tried storing a string in Stats::Vector, but that doesn't compile
   - I've tried looking at the documentation, in case there was a Stat that
   supports this which isn't listed on that wiki page. I didn't find anything.

Here's what I plan to try in the meantime, until I find out the right way
to do this

   - Modify Stats::Vector to be able to store strings as its data, OR
   - Extend one of the Stats classes to support that
      - Figure out where the stats are being written, so that I can write a
      string instead of a number

Thanks.

-- 
Martin
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to