diff options
author | alivanov <alivanov@mail.dev.rtsoft.ru> | 2018-08-21 17:36:05 +0300 |
---|---|---|
committer | Petr Bred/AI Ecosystem Lab /SRR/Staff Engineer/삼성전자 <p.bred@samsung.com> | 2018-09-19 13:25:21 +0300 |
commit | 40e12831d9e862b32bb97895e5a290446df4a859 (patch) | |
tree | a034de17e142910aca1f04338dc2ca65d6a43bf7 | |
parent | deccd6b3ab5185dfa9fcc40a3fcb684e3724f83e (diff) | |
download | heaptrack-40e12831d9e862b32bb97895e5a290446df4a859.tar.gz heaptrack-40e12831d9e862b32bb97895e5a290446df4a859.tar.bz2 heaptrack-40e12831d9e862b32bb97895e5a290446df4a859.zip |
readme updated
-rw-r--r-- | README.md | 28 | ||||
-rw-r--r-- | docs/image/close_application.png | bin | 0 -> 10183 bytes | |||
-rw-r--r-- | docs/image/memory_profiling_app_started.png | bin | 55166 -> 87209 bytes | |||
-rw-r--r-- | docs/image/memory_profiling_msvs_output.png | bin | 78026 -> 38097 bytes | |||
-rw-r--r-- | docs/image/open_session_explorer.png | bin | 0 -> 64709 bytes | |||
-rw-r--r-- | docs/image/run_memory_profiler.png | bin | 50301 -> 73175 bytes | |||
-rw-r--r-- | docs/image/session_explorer_memory_profiler.png | bin | 0 -> 10939 bytes | |||
-rw-r--r-- | docs/image/start_emulator.png | bin | 13824 -> 19870 bytes |
8 files changed, 16 insertions, 12 deletions
@@ -62,13 +62,13 @@ In the following examples option `-c` is used to specify path to the GBS config #### Build for ARM Tizen TM1 target ```console -~/heaptrack$ gbs -c ../gbs-config/gbs.conf build -P profile.arm.snapshot -A armv7l +~/heaptrack$ gbs -c docs/gbs-config/gbs.conf build -P profile.arm.snapshot -A armv7l ``` #### Build for x86 Tizen emulator ```console -~/heaptrack$ gbs -c ../gbs-config/gbs.conf build -P profile.emul32.snapshot -A i586 +~/heaptrack$ gbs -c docs/gbs-config/gbs.conf build -P profile.emul32.snapshot -A i586 ``` ### Building GUI @@ -115,29 +115,33 @@ Basic instructions for Running the Memory Profiler under Visual Studio are prov ![Run Memory Profiler](docs/image/run_memory_profiler.png) - * If no Tizen device is connected and no Tizen emulators are running then Emulator Manager will be started. Please launch the type of emulator you want to use for running and profiling your application. + * If no Tizen device is connected and no Tizen emulators are running then Emulator Manager will be started. Please launch the type of emulator you want to use for running and profiling your application. ![Launch Emulator](docs/image/start_emulator.png) - - * If everything is OK then the application starts as if you run it normally (using Start Debugging in Visual Studio). + + * If everything is OK then the application starts as if you run it normally (using Start Debugging in Visual Studio). ![Tizen application running](docs/image/memory_profiling_app_started.png) - * In case of errors the Output Window will display them (the output below corresponds to the normal operation case). + * Output Window will display any information messages (debug, warnings, etc). ![Memory Profiler Output Window](docs/image/memory_profiling_msvs_output.png) - * After finishing the application the memory profiling data file will be copied from Tizen to Windows host. + * After finishing the application the memory profiling data will be displayed with the GUI application (for closing application you may press "Home" or "Back" keys). + + ![Close Application](docs/image/close_application.png) + + + * Also you can display any previous debug session with Session Explorer (In the menu, Tools > Tizen > Profiler > Session Explorer). -### Step 2. Running Memory Profiler GUI - * You can open the memory profiling data file in the GUI application to analyze it. In the menu, choose Tools > Tizen > Profiler > Show Memory Profiler. + ![Open Session Explorer](docs/image/open_session_explorer.png) - ![Run Memory Profiler GUI](docs/image/run_memory_profiler_gui.png) + ![Open Session Explorer](docs/image/session_explorer_memory_profiler.png) -### Step 3. Analyzing the results +### Step 2. Analyzing the results * The GUI application provides several views to the memory profiling data. The views include: - summary page with information on which process was profiled, its total runtime, some memory related statistics, etc. @@ -150,7 +154,7 @@ Basic instructions for Running the Memory Profiler under Visual Studio are prov - number of instances over time graph - number of memory allocations over time graph - size of memory allocated over time graph - - allocation histogram displaying the number of allocations (the total number and the several topmost code locations) belonging to one of the groups divided by allocation size (0 - 8 bytes, 9 - 16 bytes, ... , 512 bytes - 1 KB, more than 1 KB) + - allocation histogram displaying the number of allocations (the total number and the several topmost code locations) belonging to one of the groups divided by allocation size (0 - 8 bytes, 9 - 16 bytes, docs. , 512 bytes - 1 KB, more than 1 KB) #### Managed heap view sample diff --git a/docs/image/close_application.png b/docs/image/close_application.png Binary files differnew file mode 100644 index 0000000..024f689 --- /dev/null +++ b/docs/image/close_application.png diff --git a/docs/image/memory_profiling_app_started.png b/docs/image/memory_profiling_app_started.png Binary files differindex ff42d1a..49becb2 100644 --- a/docs/image/memory_profiling_app_started.png +++ b/docs/image/memory_profiling_app_started.png diff --git a/docs/image/memory_profiling_msvs_output.png b/docs/image/memory_profiling_msvs_output.png Binary files differindex 6f4ae7b..13d85bf 100644 --- a/docs/image/memory_profiling_msvs_output.png +++ b/docs/image/memory_profiling_msvs_output.png diff --git a/docs/image/open_session_explorer.png b/docs/image/open_session_explorer.png Binary files differnew file mode 100644 index 0000000..7733d70 --- /dev/null +++ b/docs/image/open_session_explorer.png diff --git a/docs/image/run_memory_profiler.png b/docs/image/run_memory_profiler.png Binary files differindex 0d7208d..5b56feb 100644 --- a/docs/image/run_memory_profiler.png +++ b/docs/image/run_memory_profiler.png diff --git a/docs/image/session_explorer_memory_profiler.png b/docs/image/session_explorer_memory_profiler.png Binary files differnew file mode 100644 index 0000000..99527ae --- /dev/null +++ b/docs/image/session_explorer_memory_profiler.png diff --git a/docs/image/start_emulator.png b/docs/image/start_emulator.png Binary files differindex 5d09774..c4e1a79 100644 --- a/docs/image/start_emulator.png +++ b/docs/image/start_emulator.png |