summaryrefslogtreecommitdiff
path: root/src/base
AgeCommit message (Collapse)Author
2009-05-13stats: tidy up the Distribution type a little bitNathan Binkert
2009-05-13stats: fancy is a bad nameNathan Binkert
2009-05-13stats: clean up the code for printing statsNathan Binkert
2009-05-11stats: remove a few compat leftoversNathan Binkert
2009-05-11stats: forgot an include for the mysql stuffNathan Binkert
2009-05-11scons: add include guards to info.hhNathan Binkert
2009-04-22stats: Move flags into info.hh and use base/flags.hh to manage the flagsNathan Binkert
2009-04-22stats: Shuffle around info stuff so it can be accessed separatelyNathan Binkert
2009-04-22stats: Rename the info classes to hopefully make things a bit clearerNathan Binkert
FooInfoBase became FooInfo FooInfo became FooInfoProxy
2009-04-22stats: remove simplescalar compatibility for printingNathan Binkert
2009-04-22stats: fix initialization bug in distribution text outputNathan Binkert
2009-01-08FastAlloc: track allocation tick in debug mode,Steve Reinhardt
minor enhancements to debug output
2009-04-08stats: disallow duplicate statistic names.Nathan Binkert
2009-03-16stats: fix compiler errorNathan Binkert
2009-03-07stats: cleanup text output stuff and fix mysql outputNathan Binkert
2009-03-07build: fix errors for compilers other than g++ 4.3Nathan Binkert
2009-03-05stats: create an enable phase, and a prepare phase.Nathan Binkert
Enable more or less takes the place of check, but also allows stats to do some other configuration. Prepare moves all of the code that readies a stat for dumping into a separate function in preparation for supporting serialization of certain pieces of statistics data. While we're at it, clean up the visitor code and some of the python code.
2009-03-05stats: clean up how templates are used on the data side.Nathan Binkert
This basically works by taking advantage of the curiously recurring template pattern in an intelligent way so as to reduce the number of lines of code and hopefully make things a little bit clearer.
2009-03-05stats: Fix all stats usages to deal with template fixesNathan Binkert
2009-03-05stats: remove the template wart left over from the ancient binning stuffNathan Binkert
2009-03-05stats: stick the distribution's fancy parameter into the parameters structure.Nathan Binkert
2009-03-05stats: Add a wrapper class for the information side of things.Nathan Binkert
This provides an easy way to provide the callbacks into the data side of things from the info side of things. Rename Wrap to DataWrap so it is more easily distinguishable from InfoWrap
2009-03-05stats: better naming of template parameters for the wrapper stuffNathan Binkert
Parent and Child are bad names. Derived and Base are better.
2009-03-05stats: get rid of meaningless uses of virtualNathan Binkert
2009-03-05stats: miscellaneous cleanupNathan Binkert
2009-03-04Give TimeBuffer an ID that can be set. Necessary because InOrder uses ↵Korey Sewell
generic stages so w/o an ID there is no way to differentiate buffers when debugging
2009-02-26CPA: Add new object for gathering critical path annotations.Ali Saidi
2009-02-23stats: reorganize how parameters are stored and accessed.Nathan Binkert
2009-02-23stats: move the limits stuff into the types.hh fileNathan Binkert
2009-02-23stats: get rid of the convoluted 'database' code.Nathan Binkert
Just use the stuff directly and things ought to be more clear
2009-02-23stats: Try to make the names of things more intuitive.Nathan Binkert
Basically, this means renaming several things called data to info, which is information about the statistics. Things that are named data now are actual data stored for the statistic.
2009-02-23stats: fix text printout for distributionsNathan Binkert
2009-02-23debug: Move debug_break into src/baseNathan Binkert
2009-02-15X86: Make the loader recognize 32 bit x86 processes.Gabe Black
2009-01-30Errors: Print a URL with a hash of the format string to find more ↵Ali Saidi
information about an error.
2009-01-23Trace: Add DPRINTFS macro that takes parameter to call name() for trace ↵Ali Saidi
printing.
2009-01-19tracing: Add help strings for some of the trace flagsNathan Binkert
2009-01-06INET: Add functions to header types to get offset in packet and start of ↵Ali Saidi
payload; add function to split packet at last known header
2008-12-06flags: Change naming of functions to be clearerNathan Binkert
2008-12-05INet: Allow updating on id, len, seq, and flag field for TCP segment offloadAli Saidi
2008-12-05Automated merge with ssh://m5sim.org//repo/m5Lisa Hsu
2008-12-05This brings M5 closer to modernity - the kernel being advertised is newer so ↵Lisa Hsu
it won't die on binaries compiled with newer glibc's, and enables use of TLS-toolchain built binaries for ALPHA_SE by putting auxiliary vectors on the stack. There are some comments in the code to help. Finally, stats changes for ALPHA are from slight perturbations to the initial stack frame, all minimal diffs.
2008-12-03cprintf: support a configurable width and precision ("*" in printf)Nathan Binkert
2008-11-15Output: Include gzstream package to allow automatically-gzipped outputClint Smullen
The gzstream package provides an ostream-interface for writing gzipped files. The package comes from: http://www.cs.unc.edu/Research/compgeom/gzstream/ And is distributed under the LGPL license. Both the license and version information has been preservered, though all other files in the package have been purged. Minor modifications to the code have been made. The output module detects when a filename ends in .gz and constructs an ogzstream object instead of an ofstream object. This works for both the create(...) and find(...) commands. Additionally, since gzstream objects needs to be closed to ensure proper file termination, I have the output deconstructor deleting all ostream's that it manages on behalf of find(...). At the moment, the only output file that I know this functionality works for is stats, i.e. by specifying "--stats-file=m5stats.txt.gz" on the command line.
2008-11-14Fix a bunch of bugs I introduced when I changed the flags stuff for packets.Nathan Binkert
I did some of the flags and assertions wrong. Thanks to Brad Beckmann for pointing this out. I should have run the opt regressions instead of the fast. I also screwed up some of the logical functions in the Flags class.
2008-11-10flags: Provide an object for managing boolean flags for an object.Nathan Binkert
In many cases it might be preferable to use bitset, but this object allows the user more easily manipulate groups of flags because the underlying type (e.g. uint64_t) is exposed.
2008-11-10safe_cast: add a new cast function for casts that should always succeed.Nathan Binkert
In DEBUG mode, this does a dynamic_cast and asserts that the result is non null. Otherwise, it just does a static_cast. Again, this is only intended for cases where the cast should always succeed and what's desired is a debugging check to make sure.
2008-11-10mem: Assert that requests have non-negative size.Steve Reinhardt
Would have saved me much debugging time if these had been in there previously.
2008-10-10cprintf: properly deal with pointer typesNathan Binkert
2008-10-10Rename the info function to inform to avoid likely name conflictsNathan Binkert