10.5.2 Profiling threads
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Multithreaded applications
Thread support library(threadutil)
Profiling threads
tprofile/1
Packages
Availability:
:- use_module(
library(threadutil)
).
(can be autoloaded)
tprofile
(
+ThreadId
)
Start collecting profile data in
ThreadId
and ask the user to hit <
return
> to stop the profiler. See
section 4.42
for details on the execution profiler.