> Thanks for your quick reply. Yes I want scalar() and > am not using binning or database. But, I've got > compiling error: "scalar was not declared in this > scope". I just wonder, where is the definition of > scalar()? or, which head file shall I include in order > to use scalar()? I found definition of constant() in > m5/base/statistics.hh, but couldn't find scalar() > anywhere.
Hmmm. I just realized that I removed scalar(). It really just doesn't work with stats at all. You can just create a Scalar<> statistic that does the same thing as your normal variable. (That's the preferred way.) Stats are supposed to be kept completely separate from regular variables. Nathan ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ m5sim-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m5sim-users
