| ... | @@ -2,6 +2,7 @@ |
... | @@ -2,6 +2,7 @@ |
|
|
title: Profilage de Code
|
|
title: Profilage de Code
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
# Code profilers
|
|
# Code profilers
|
|
|
|
|
|
|
|
In this Wiki, we will provide a methodology to install and run some code profilers. This has been tested on a specific Conda environment.
|
|
In this Wiki, we will provide a methodology to install and run some code profilers. This has been tested on a specific Conda environment.
|
| ... | @@ -161,7 +162,7 @@ BEGIN_INSTRUMENT_SECTION |
... | @@ -161,7 +162,7 @@ BEGIN_INSTRUMENT_SECTION |
|
|
dynamic phase name="foo1_bar" file="foo.c" line=26 to line=27
|
|
dynamic phase name="foo1_bar" file="foo.c" line=26 to line=27
|
|
|
|
|
|
|
|
# instrument all the outer loops in all the routines
|
|
# instrument all the outer loops in all the routines
|
|
|
loops file="#" routine="#"
|
|
loops file="*cpp" routine="#"
|
|
|
|
|
|
|
|
# tracks memory allocations/deallocations as well as potential leaks
|
|
# tracks memory allocations/deallocations as well as potential leaks
|
|
|
memory file="foo.f90" routine="INIT"
|
|
memory file="foo.f90" routine="INIT"
|
| ... | |
... | |
| ... | | ... | |