Skip to content

Commit c848b67

Browse files
Added further figure labels.
1 parent 02fd1d1 commit c848b67

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

content/learning-paths/laptops-and-desktops/windows_armpl/2-multithreading.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Build a Numerical Application and Profile the Performance
2+
title: Build and Profile an Application with Spin the Cube and Visual Studio
33
weight: 5
44

55
### FIXED, DO NOT MODIFY
@@ -123,13 +123,13 @@ The number in the application represents the number of Frames Per Second (FPS).
123123

124124
A higher number indicates more frames per second, which indicates improved performance.
125125

126-
![gif1](./figures/multithreading.gif)
126+
![gif1 alt-text#center](./figures/multithreading.gif "Figure 7: Spin The Cube Simulated 3D Sphere.")
127127

128128
Performance varies across different Windows on Arm computers, but on the Lenovo X13s specifically, the performance generally falls between 3K and 6K FPS.
129129

130130

131131
You can use the [Visual Studio profiling tools](https://learn.microsoft.com/en-us/visualstudio/profiling/profiling-feature-tour?view=vs-2022) to observe the dynamic CPU and memory usage while the program is running.
132132

133-
![img8](./figures/mt_cpumem_usage1.png)
133+
![img8 alt-text#center](./figures/mt_cpumem_usage1.png "Figure 8: Using Visual Studio Profiling Tools.")
134134

135135
Continue learning to find out how you can optimize performance using Arm Performance Libraries.

content/learning-paths/laptops-and-desktops/windows_armpl/3-apt-enhancement.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The `include` and `lib` are the directories containing header files and library
2222

2323
Take note of the location of these two directories, as you will need them for configuring Visual Studio.
2424

25-
![img9](./figures/apl_directory.png)
25+
![img9 alt-text#center](./figures/apl_directory.png "Figure 9: Arm Performance Libraries Directory.")
2626

2727
## Add Arm Performance Libraries to Visual Studio
2828

@@ -38,7 +38,7 @@ In your Visual Studio project, configure two places in your Visual Studio proje
3838
4. Click on the dropdown menu. Select `<Edit...>`.
3939
5. In the dialog that opens, click the `New Line` icon to add Arm Performance Libraries `include` path.
4040

41-
![img10](./figures/ext_include.png)
41+
![img10 alt-text#center](./figures/ext_include.png "Figure 10: External Include Directories.")
4242

4343
### Additional Library Directories:
4444

@@ -48,7 +48,7 @@ In your Visual Studio project, configure two places in your Visual Studio proje
4848
4. Click on the dropdown menu. Select `<Edit...>`
4949
5. In the dialog that opens, click the `New Line` icon to add Arm Performance Libraries `library` path.
5050

51-
![img11](./figures/linker_lib.png)
51+
![img11 alt-text#center](./figures/linker_lib.png "Figure 11: Linker Library.")
5252

5353

5454
{{% notice Note %}}
@@ -62,9 +62,9 @@ You are now ready to use Arm Performance Libraries in your project.
6262

6363
Open the source code file `SpinTheCubeInGDI.cpp` and search for the `_USE_ARMPL_DEFINES` definition.
6464

65-
You will see a commented-out definition on line 13 of the program. Removing the comment enables the Arm Performance Libraries feature when you re-build the application.
65+
You will see a commented-out definition on line 13 of the program. Removing the comment enables the Arm Performance Libraries feature when you rebuild the application.
6666

67-
![img12](./figures/apl_define.png)
67+
![img12 alt-text#center](./figures/apl_define.png "Figure 12: Arm Performance Libraries Definition.")
6868

6969

7070
When variable useAPL is True, the application calls `applyRotationBLAS()` instead of the multithreading code, to apply the rotation matrix to the 3D vertices.

0 commit comments

Comments
 (0)