Yes, but all arithmetic between vectors is elementwise, so they need to be the same length if used in a formula. Total miss latency needs to have the same vector length as total misses.
Nate On Mon, Apr 18, 2011 at 2:09 PM, Lisa Hsu <h...@eecs.umich.edu> wrote: > I'm not sure I understand what the problem is either. Can different > VectorStats not have different lengths? > > Lisa > > On Mon, Apr 18, 2011 at 11:43 AM, Gabriel Michael Black < > gbl...@eecs.umich.edu> wrote: > >> My first reaction is "let's fix it", but I don't really understand the >> problem or the impact of changing things. Anything serious? >> >> Gabe >> >> >> Quoting nathan binkert <n...@binkert.org>: >> >> I'm trying to get my python stats stuff committed and I found a bug in >>> the classic cache stats. Look in src/mem/cache/base.cc. The >>> VectorStats have several different lengths "_numCpus + 1", "_numCpus", >>> or "maxThreadsPerCPU". >>> >>> The fact that this works in the current stats package is lucky. I can >>> be bug compatible, but I think we should fix this instead. >>> >>> Nate >>> _______________________________________________ >>> m5-dev mailing list >>> m5-dev@m5sim.org >>> http://m5sim.org/mailman/listinfo/m5-dev >>> >>> >> >> >> _______________________________________________ >> m5-dev mailing list >> m5-dev@m5sim.org >> http://m5sim.org/mailman/listinfo/m5-dev >> >> > _______________________________________________ > m5-dev mailing list > m5-dev@m5sim.org > http://m5sim.org/mailman/listinfo/m5-dev > _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev