Skip to content

Commit a109779

Browse files
committed
More profiling text
1 parent 17a5367 commit a109779

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

org/implementation-details.org

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ Executables with embedded snapshots always use those snapshots.
4949
* Fasp files
5050
See [[file:fasp.org][Fasp files are concatenated object files.]]
5151
* Profiling clasp and C++
52+
53+
You can profile Clasp compiled code and C++ together. On linux we use the ~perf~ tools to generate profile data and on macOS we use ~dtrace~.
54+
5255
** Profiling on linux
5356

5457
Clasp generates just in time (JIT) code for which we need symbol information. Use the ~(ext:generate-perf-map)~ command within clasp to generate a ~/tmp/perf-<pid>.map file that ~perf~ will use to convert addresses to symbols. Do this just prior to evaluating the code that you want to profile so that you get the maximum coverage of JITted symbols.

0 commit comments

Comments
 (0)