Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon Optimization Strategies for the Mac sOS Technote.

View Source Code:

Download Sample (“Optimization_TN_Demos.zip”, 123.9K)
Download Sample (“Optimization_TN_Demos.dmg”, 213.1K)



Description

This sample code accompanies "TN 1174: Optimization Strategies for the Mac OS". The Cacheline Optimizer evaluates cacheline usage. Given a stride value, it will simulate the cache utilization for the L1 and L2 caches on an iMac, as well as giving an approximate idea of the TLB usage. It gives the percentage utilization as well as how many iterations before you will begin to evict data from the cache. CBuffFileStream demonstrates the implementation of a buffered file system on top of the Mac OS file system. Requirements: Optimization Strategies for the Mac sOS Technote. Keywords: Optimization, buffered file system, cache, cacheline, Optimization TN Demos

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.