Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Arm Community blogs
Tools, Software and IDEs blog
Software Optimization: Four real-life Streamline use cases (Part 3)
Blogs
Mentions
Sub-Groups
Tags
Jump...
Cancel
More blogs in Arm Community blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Embedded blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Tags
Actions
RSS
More
Cancel
Related blog posts
Related forum threads
Software Optimization: Four real-life Streamline use cases (Part 3)
Guilherme Marshall
September 11, 2013
1 minute read time.
Benchmarking
-
ARM DS-5™ Streamline
is designed for software and system analysis (see previous posts on
Timeline analysis
and
software profiling
), and that is where all its power features apply, but many developers use it for benchmarking because of its ease of use.
In the Timeline View you see the start and end of threads as well as "events" that you can define in your application with printf-style annotations. So, for instance, in the Xaos example report provided in the DS-5 installation we have annotated different stages of fractal computation and we can measure how long it takes to complete each one of these stages
Benchmarking has an obvious use: measure the time to complete a certain task before and after changes in the software, and check whether these have resulted in an improvement or not.
Streamline is actually pretty good for benchmarking because:
It is really easy to use. Once the Streamline gator driver has been integrated in the target's software, running Streamline only requires you to type the IP address of the target and push a button on the GUI
You can capture data for as long as you wish and stream it to your host PC for processing. This can be seconds, minutes or hours
You can script it and drive it from the command line or batch files for test automation
When Streamline is used together with the
Energy Probe
you can measure the energy consumed by your target in order to complete a task. For designs where low power and battery life are critical the goal may be to finish the task within a certain time with the lowest possible voltage and clock frequency settings, rather than try to finish it as quickly as possible. The ability to benchmark total energy consumption and easily measure time between events is critical for success.
[center]
[/center]
Blogs in this series
Four real-life Streamline use cases (Part 1): Timeline analysis
Four real-life Streamline use cases (Part 2): Smart software profiling
Four real-life Streamline use cases (Part 3): Benchmarking
Tools, Software and IDEs blog
Part 3: Leveraging Rust with Rich Operating Systems on Arm
Jonathan Pallant
Understand how Rust can take full advantage of running on a full-blown operating system such as Linux.
November 15, 2024
Part 2: Integrating Rust with Real-Time Operating Systems on Arm
Jonathan Pallant
Explore how to integrate Rust with Real-Time Operating Systems (RTOS) on Arm microcontrollers and processors.
November 13, 2024
Building Safe and Secure Software with Rust on Arm
Jonathan Pallant
Learn how Rust enhances safety and performance on Arm microcontrollers, with practical examples and insights from Jonathan Pallant.
November 11, 2024