Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
d2f250b3
Commit
d2f250b3
authored
Feb 20, 2007
by
ericw
Browse files
Change to elapsed time printout
parent
2b628be8
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/FroNtier/tests/test_squid.py
View file @
d2f250b3
...
...
@@ -10,7 +10,7 @@ Tests the local FroNtier squid
# 3) file $CMS_PATH/SITECONF/local/JobConfig/site-local-config.xml
# contains the location of the local FroNtier squid server
#
__revision__
=
"$Id: test_squid.py,v 1.
4
2007/02/
16
17:03:44 ericw Exp $"
__revision__
=
"$Id: test_squid.py,v 1.
5
2007/02/
20
17:03:44 ericw Exp $"
import
os
import
sys
import
urllib2
...
...
@@ -160,7 +160,7 @@ if statsFlag:
print
duration
,
size
,
size
/
duration
else
:
print
"Query ended: "
,
time
.
strftime
(
"%m/%d/%y %H:%M:%S %Z"
,
queryEnd
)
print
"Query time: %
s
[seconds]
\n
"
%
(
t2
-
t1
)
print
"Query time: %
0.2f
[seconds]
\n
"
%
(
t2
-
t1
)
#
# Print out result
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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