Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
ee873b1d
Commit
ee873b1d
authored
Apr 12, 2015
by
Mathieu Giraud
Committed by
Vidjil Team
Apr 12, 2015
Browse files
controllers/patient.py: patient/stats, timing
parent
86cfc771
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/controllers/patient.py
View file @
ee873b1d
...
...
@@ -164,6 +164,9 @@ def custom():
STATS_READLINES
=
1000
# approx. size in which the stats are searched
def
stats
():
import
time
start
=
time
.
time
()
d
=
custom
()
stats_regex
=
[
...
...
@@ -212,6 +215,7 @@ def stats():
row
[
key
]
=
val
.
replace
(
'
\\
'
,
''
)
break
log
.
debug
(
"patient/stats (%.3fs)"
%
(
time
.
time
()
-
start
))
return
d
## return patient list
...
...
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