Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
621b443b
Commit
621b443b
authored
Jan 16, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- add warning that hotshot doesn't work well with threads
- fix some markup
parent
990a46b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
Doc/lib/libhotshot.tex
Doc/lib/libhotshot.tex
+9
-3
No files found.
Doc/lib/libhotshot.tex
View file @
621b443b
...
...
@@ -14,9 +14,15 @@ Hotshot is a replacement for the existing \refmodule{profile} module. As it's
written mostly in C, it should result in a much smaller performance impact
than the existing
\refmodule
{
profile
}
module.
\begin{classdesc}
{
Profile
}{
logfile
\optional
{
,
lineevents
\code
{
=0
}
\optional
{
,
linetimings
\code
{
=1
}}}}
\begin{notice}
[warning]
The
\module
{
hotshot
}
profiler does not yet work well with threads.
It is useful to use an unthreaded script to run the profiler over
the code you're interested in measuring if at all possible.
\end{notice}
\begin{classdesc}
{
Profile
}{
logfile
\optional
{
, lineevents
\optional
{
,
linetimings
}}}
The profiler object. The argument
\var
{
logfile
}
is the name of a log
file to use for logged profile data. The argument
\var
{
lineevents
}
specifies whether to generate events for every source line, or just on
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment