Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 621b443

Browse files
committed
- add warning that hotshot doesn't work well with threads
- fix some markup
1 parent 990a46b commit 621b443

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

Doc/lib/libhotshot.tex

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ \section{\module{hotshot} ---
1414
written mostly in C, it should result in a much smaller performance impact
1515
than the existing \refmodule{profile} module.
1616

17-
\begin{classdesc}{Profile}{logfile\optional{,
18-
lineevents\code{=0}\optional{,
19-
linetimings\code{=1}}}}
17+
\begin{notice}[warning]
18+
The \module{hotshot} profiler does not yet work well with threads.
19+
It is useful to use an unthreaded script to run the profiler over
20+
the code you're interested in measuring if at all possible.
21+
\end{notice}
22+
23+
24+
\begin{classdesc}{Profile}{logfile\optional{, lineevents\optional{,
25+
linetimings}}}
2026
The profiler object. The argument \var{logfile} is the name of a log
2127
file to use for logged profile data. The argument \var{lineevents}
2228
specifies whether to generate events for every source line, or just on

0 commit comments

Comments
 (0)