Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
4af48245
Commit
4af48245
authored
Mar 08, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X neotest: Also show target-latency for C-states
parent
f694d643
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
go/neo/t/neotest
go/neo/t/neotest
+7
-5
No files found.
go/neo/t/neotest
View file @
4af48245
#!/bin/bash -e
#!/bin/bash -e
# neotest: run tests and benchmarks against FileStorage, ZEO and various NEO/py
{sql,sqlite},
NEO/go clusters
# neotest: run tests and benchmarks against FileStorage, ZEO and various NEO/py
and
NEO/go clusters
# Copyright (C) 2017 Nexedi SA and Contributors.
# Copyright (C) 2017
-2018
Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
#
Kirill Smelkov <kirr@nexedi.com>
#
#
# This program is free software: you can Use, Study, Modify and Redistribute
# This program is free software: you can Use, Study, Modify and Redistribute
# it under the terms of the GNU General Public License version 3, or (at your
# it under the terms of the GNU General Public License version 3, or (at your
...
@@ -603,14 +603,16 @@ system_info() {
...
@@ -603,14 +603,16 @@ system_info() {
while
read
cpu
;
do
while
read
cpu
;
do
is
=
"
`
cat
$sysidle
/current_driver
`
/
`
cat
$sysidle
/current_governor_ro
`
:"
is
=
"
`
cat
$sysidle
/current_driver
`
/
`
cat
$sysidle
/current_governor_ro
`
:"
while
read
state
;
do
while
read
state
;
do
# XXX add target residency?
is+
=
" "
is+
=
" "
lat
=
`
cat
$state
/latency
`
lat
=
`
cat
$state
/latency
`
res
=
`
cat
$state
/residency
`
test
"
`
cat
$state
/disable
`
"
=
"1"
&&
is+
=
"!"
||
latmax
=
$((
$lat
>
$latmax
?
$lat
:
$latmax
))
test
"
`
cat
$state
/disable
`
"
=
"1"
&&
is+
=
"!"
||
latmax
=
$((
$lat
>
$latmax
?
$lat
:
$latmax
))
is+
=
"
`
cat
$state
/name
`
(
${
lat
}
μs)
"
is+
=
"
`
cat
$state
/name
`
·
${
lat
}
/
${
res
}
"
done
\
done
\
< <
(
ls
-vd
$cpu
/cpuidle/state[0-9]
*
)
< <
(
ls
-vd
$cpu
/cpuidle/state[0-9]
*
)
is+
=
" # elat/tres µs"
if
[
"
$is
"
!=
"
$idlestr
"
]
;
then
if
[
"
$is
"
!=
"
$idlestr
"
]
;
then
idledump
idledump
idlestr
=
"
$is
"
idlestr
=
"
$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