Cache Allocation Sample
Samples are intended to demonstrate how to write code using
certain features. They are not performance benchmarks. The output examples
shown here are for illustration only. Your output may vary.
The cache allocation sample (
tcc_cache_allocation_sample
) is a self-contained example program demonstrating how to use the cache allocation library to reduce buffer access latency.You will be able to run the sample and see improvements in latency reduction.
The package provides source code that you can copy and modify for your application.
File Locations
After installing the Intel® TCC Tools package on the target system, you can find sample sources and binaries in the following directories:
Target system:
- Sample sources:/usr/share/tcc_tools/samples/tcc_cache_allocation_sample
- Sample binaries:/usr/bin
Source Files
File | Description |
---|---|
src/main.c | Main file containing the cache allocation sample code |
Learn More
Read more about this sample and run the examples to see how it uses the cache allocation library: