- 10 Sep, 2002 1 commit
-
-
Guido van Rossum authored
-
- 09 Sep, 2002 3 commits
-
-
Guido van Rossum authored
simple free list using a mix of exact-fit and last-fit with a roving pointer as suggested by Tim. Use -f to use this version. Renamed BuddyNode to BlockNode since it is now used by both allocators. Moved some code around in an attempt to organize it more top-down. Moved the report printing into the Simulation base class. Print the class name and exact cache size before the header; skip the final report printing if only one previous report was printed.
-
Guido van Rossum authored
1000*1000. This makes it easier to specify cache sizes for the buddy system that don't have to be rounded up to the next power of two. It does make future reported results incompatible with past results.
-
Guido van Rossum authored
allocator.
-
- 06 Sep, 2002 5 commits
-
-
Guido van Rossum authored
invalidations instead of only the ones that hit the cache. - Support reading gzipped files. This is triggered automatically when the filename ends in .gz. Also support reading from stdin (pass '-' as filename). - Widen the FLIPS column by one to match the EVICTS column width of the LRU simulation. - Support simulating alternative caching strategies. For now, only LRU is supported, triggered by the -l option. - Change the Simulation base class to store the cachelimit argument. (The constructor signature must be the same across all subclasses.)
-
Guido van Rossum authored
base class.
-
Guido van Rossum authored
report overall statistics for all columns.
-
Guido van Rossum authored
-
Guido van Rossum authored
ZEO_CACHE_TRACE set (see stats.py for file format description).
-