How to Use the CoreMark®-PRO Benchmark
Описание
NOTE: This video contains a lot of small text and must be watched at 720p or 1080p (preferred) resolution, otherwise you'll just see lots of colorful blurs!
This detailed walk-through explains how to run CoreMark-PRO out-of-the-box on Linux, and how to port (and optimize) it to an STMicroelectronics MPU. Viewers should have a basic understanding of CoreMark-PRO, please refer to the documentation on its GitHub repository at: https://github.com/eembc/coremark-pro
Part 1 walks the viewer through a simple make-based build and explores parallelism on Linux system.
Part 2 focuses on an embedded port, is presented from the perspective of a first-time developer, showing common compiler warnings and errors, and explaining how to fix each one. Once functionality has been achieved, the tutorial demonstrates simple, first-order optimizations: compiler settings, clock tree, and cache enabling.
The following links are provided as a reference aid.
Part 1: Linux Host-Mode (Ubuntu 20.04 on an Intel Core i7 with GCC)
- Clone and build with make : https://www.youtube.com/watch?v=cXf_KvfvujI&t=0m12s
- Automated run & score computation : https://www.youtube.com/watch?v=cXf_KvfvujI&t=1m50s
- Tuning the iterations : https://www.youtube.com/watch?v=cXf_KvfvujI&t=4m10s
- Enabling parallel execution: https://www.youtube.com/watch?v=cXf_KvfvujI&t=5m20s
Part 2: Bare-metal single-thread remote target (STMicroelectronics STM32H747 with IAR EWARM 8.50)
- Initialize a project with CubeMX : https://www.youtube.com/watch?v=cXf_KvfvujI&t=7m20s
- Verify "printf" output to the IDE: https://www.youtube.com/watch?v=cXf_KvfvujI&t=8m45s
- Import & compile the MITH module : https://www.youtube.com/watch?v=cXf_KvfvujI&t=9m51s
- Debugging pthread, stat, and aligned malloc errors : https://www.youtube.com/watch?v=cXf_KvfvujI&t=11m37s
- Import & compile the Adaptation Layer : https://www.youtube.com/watch?v=cXf_KvfvujI&t=14m35s
- Debugging file and creating the timer : https://www.youtube.com/watch?v=cXf_KvfvujI&t=15m20s
- Import a workload & resolve duplicate main (& argc/argv) : https://www.youtube.com/watch?v=cXf_KvfvujI&t=18m00s
- Debugging heap malloc error : https://www.youtube.com/watch?v=cXf_KvfvujI&t=22m53s
- Debugging a mis-configured timer resolution : https://www.youtube.com/watch?v=cXf_KvfvujI&t=23m50s
- Enabling compiler optimizations : https://www.youtube.com/watch?v=cXf_KvfvujI&t=25m41s
- Re-configuring the clock tree : https://www.youtube.com/watch?v=cXf_KvfvujI&t=26m35s
- Enabling I$ & D$ : https://www.youtube.com/watch?v=cXf_KvfvujI&t=27m58s
Рекомендуемые видео






![Forsaken react to TikTok and Funny video [🇺🇸/🇷🇺] (2X) 💅](/images/video/2026-06-24/23/78/2378bac81510f7024de376b143efc4a2.jpg?width=640)








![Slow Motion ] CI Swimwear Part-1 | Miami Swim Week® -The Shows 2025](/images/video/2026-01-03/21/f1/21f1d182185de7e1a15a362b11f733ae.jpg?width=640)


