[gnome-builder] doc: add some profiler docs
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] doc: add some profiler docs
- Date: Sun, 3 Sep 2017 03:34:48 +0000 (UTC)
commit 2b42999816f1983407478842731481557721c0b4
Author: Christian Hergert <chergert redhat com>
Date: Sat Sep 2 20:34:36 2017 -0700
doc: add some profiler docs
doc/figures/profiler-callgraph.png | Bin 0 -> 278194 bytes
doc/figures/profiler-running.png | Bin 0 -> 63351 bytes
doc/figures/run-button.png | Bin 0 -> 39942 bytes
doc/projects/profiling.rst | 16 ++++++++++++++++
4 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/doc/figures/profiler-callgraph.png b/doc/figures/profiler-callgraph.png
new file mode 100644
index 0000000..ffe0194
Binary files /dev/null and b/doc/figures/profiler-callgraph.png differ
diff --git a/doc/figures/profiler-running.png b/doc/figures/profiler-running.png
new file mode 100644
index 0000000..645426b
Binary files /dev/null and b/doc/figures/profiler-running.png differ
diff --git a/doc/figures/run-button.png b/doc/figures/run-button.png
new file mode 100644
index 0000000..95630de
Binary files /dev/null and b/doc/figures/run-button.png differ
diff --git a/doc/projects/profiling.rst b/doc/projects/profiling.rst
index 9019eb1..74eed6e 100644
--- a/doc/projects/profiling.rst
+++ b/doc/projects/profiling.rst
@@ -4,4 +4,20 @@ Profiling your Project
Builder integrates with the Sysprof profiler to provide a robust sampling profiler.
+Select "Run with Profiler" from the run button.
+
+.. image:: ../figures/run-button.png
+ :width: 322 px
+ :align: center
+
+While the application is running, you'll see a screen like this indicating that Sysprof is recording CPU
samples on your system.
+
+.. image:: ../figures/profiler-running.png
+ :align: center
+
+After stopping or exiting your program, you will be presented with a callgraph like the following.
+You can select a time range within the CPU visualizer to limit the callgraph to samples recorded witin the
selection.
+
+.. image:: ../figures/profiler-callgraph.png
+ :align: center
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]