Measurement Analysis 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 measurement analysis sample (
tcc_measurement_analysis_sample
) is
an example of a profiling application. The sample demonstrates the
following types of analysis:- Creating histograms of collected data. This is an example of the capabilities described in Post-process Analysis of Measurements.
- Monitoring measurements and deadline violations. This is an example of the capabilities described in Monitor Measurements with an Application.
This sample is a universal instrument for measurement library data analysis, written in Python for convenience. You can use the sample as is to analyze real data from any application instrumented with the Measurement Library.
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_measurement_analysis_sample
- Sample binaries:/usr/bin
Source Files
File | Description |
---|---|
src/tcc_measurement_analysis_sample.py | Main file containing sample code |
Learn More
Read more about this sample and run the examples to see how it uses the measurement library: