Skip to content

Commit 3119ba9

Browse files
author
David Kline (ANALOG)
committed
add using the visual profiler
1 parent f3c5d82 commit 3119ba9

File tree

7 files changed

+56
-3
lines changed

7 files changed

+56
-3
lines changed

Documentation/Diagnostics/ConfiguringDiagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ The speed at which to move the profiler window to maintain visibility within the
4646
## See Also
4747

4848
- [Diagnostics System](DiagnosticsSystemGettingStarted.md)
49-
- [Using the Visual Profiler](../TODO.md)
49+
- [Using the Visual Profiler](UsingVisualProfiler.md)

Documentation/Diagnostics/DiagnosticsSystemGettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ accurately reflect actual application performance when run from within the edito
5959

6060
- [Diagnostics API documentation](xref:Microsoft.MixedReality.Toolkit.Diagnostics)
6161
- [Configuring the Diagnostics System](ConfiguringDiagnostics.md)
62-
- [Using the Visual Profiler](../TODO.md)
62+
- [Using the Visual Profiler](UsingVisualProfiler.md)
6363

Documentation/Diagnostics/UsingVisualProfiler.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,60 @@
11
# Using the Visual Profiler
22

3+
The VisualProfiler provides an easy to use, in application view of a mixed reality application's performance. The profiler is supported on all Mixed Reality Toolkit platforms, including:
4+
5+
- Microsoft HoloLens
6+
- Microsoft HoloLens 2
7+
- Windows Mixed Reality Immersive headsets
8+
- OpenVR
9+
10+
While developing an application, be sure to focus on multiple parts of the scene as the Visual Profiler displays data relative to the current view.
11+
12+
> Focus attention on portions of the scene with complex objects, particle effects or activity. These and other factors often contribute to reduction in application performance and a less than ideal user experience.
13+
14+
## Visual Profiler Interface
15+
16+
![Visual Profiler Interface](../../External/ReadMeImages/VisualProfiler.png)
17+
18+
The Visual Profiler interface includes the following components:
19+
20+
- [Frame Rate](#frame-rate)
21+
- [Frame Time](#frame-time)
22+
- [Frame Graph](#frame-graph)
23+
- [Memory Utilization](#memory-utilization)
24+
25+
### Frame Rate
26+
27+
In the upper left corner of the interface is the frame rate, measured in frames per second. For the best user experience and comfort, this value should be as high as possible.
28+
29+
The specific platform and hardware configuration will play a significant role in the maximum achievable frame rate. Some common target values include:
30+
31+
- Microsoft HoloLens: 60
32+
- Windows Mixed Reality Ultra: 90
33+
34+
### Frame Time
35+
336
<< >>
437

38+
### Frame Graph
39+
40+
The frame graph provides a graphical display of the application frame rate history.
41+
42+
![Visual Profiler Frame Graph](../../External/ReadMeImages/VisualProfilerMissedFrames.png)
43+
44+
> When using the application, look for missed frames. Missed frames indicate the application is not hitting its target frame rate and may need optimization work.
45+
46+
### Memory Utilization
47+
48+
The memory utilization display allows for easy understanding of how the current view is impacting an application's memory consumption.
49+
50+
![Visual Profiler Frame Graph](../../External/ReadMeImages/VisualProfilerMemory.png)
51+
52+
> When using application, look for total memory usage. Key indicators include: nearing the memory limit and rapid changes in usage.
53+
54+
## Customizing the Visual Profiler
55+
56+
The Visual Profiler's appearance and behavior are customizable via the diagnostics system profile. Please see [Configuring the Diagnostics System](ConfiguringDiagnostics.md) for more information.
57+
558
## See Also
659

760
- [Diagnostics System](DiagnosticsSystemGettingStarted.md)

Documentation/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
- name: Configuring the Diagnostics System
9393
href: Diagnostics/ConfiguringDiagnostics.md
9494
- name: Using the Visual Profiler
95-
href: TODO.md
95+
href: Diagnostics/UsingVisualProfiler.md
9696
- name: Other Features
9797
href: TODO.md
9898
items:
24.1 KB
Loading
14.8 KB
Loading
26.1 KB
Loading

0 commit comments

Comments
 (0)