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
7bdc484c
Commit
7bdc484c
authored
Sep 20, 2003
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #808362: Fix typos.
parent
8f81c93b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Doc/lib/libtimeit.tex
Doc/lib/libtimeit.tex
+1
-1
Doc/lib/libunittest.tex
Doc/lib/libunittest.tex
+1
-1
Lib/timeit.py
Lib/timeit.py
+1
-1
No files found.
Doc/lib/libtimeit.tex
View file @
7bdc484c
...
...
@@ -122,7 +122,7 @@ The default timer function is platform dependent. On Windows,
\function
{
time.time()
}
's granularity is 1/60th of a second; on
\UNIX
,
\function
{
time.clock()
}
has 1/100th of a second granularity and
\function
{
time.time()
}
is much more precise. On either platform, the
default timer functions measure
s
wall clock time, not the CPU time.
default timer functions measure wall clock time, not the CPU time.
This means that other processes running on the same computer may
interfere with the timing. The best thing to do when accurate timing
is necessary is to repeat the timing a few times and use the best
...
...
Doc/lib/libunittest.tex
View file @
7bdc484c
...
...
@@ -769,7 +769,7 @@ be of interest when inspecting the results of running a set of tests:
The following methods of the
\class
{
TestResult
}
class are used to
maintain the internal data structures, and m
m
ay be extended in
maintain the internal data structures, and may be extended in
subclasses to support additional reporting requirements. This is
particularly useful in building tools which support interactive
reporting while tests are being run.
...
...
Lib/timeit.py
View file @
7bdc484c
...
...
@@ -33,7 +33,7 @@ The difference in default timer function is because on Windows,
clock() has microsecond granularity but time()'s granularity is 1/60th
of a second; on Unix, clock() has 1/100th of a second granularity and
time() is much more precise. On either platform, the default timer
functions measure
s
wall clock time, not the CPU time. This means that
functions measure wall clock time, not the CPU time. This means that
other processes running on the same computer may interfere with the
timing. The best thing to do when accurate timing is necessary is to
repeat the timing a few times and use the best time. The -r option is
...
...
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