Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
f9fd75e6
Commit
f9fd75e6
authored
Oct 04, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
196a8377
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
go/neo/t/neotest
go/neo/t/neotest
+6
-5
No files found.
go/neo/t/neotest
View file @
f9fd75e6
...
...
@@ -429,15 +429,18 @@ header() {
}
while
read
cpu
;
do
cpuname
=
`
basename
$cpu
`
f
=
"
$cpu
/cpufreq"
fs
=
"freq:
`
cat
$f
/scaling_driver
`
/
`
cat
$f
/scaling_governor
`
[
`
fkghz
$f
/scaling_min_freq
`
-
`
fkghz
$f
/scaling_max_freq
`
]"
if
[
"
$fs
"
!=
"
$freqstr
"
]
;
then
freqdump
freqstr
=
"
$fs
"
fi
freqcpuv+
=(
$cpuname
)
freqcpuv+
=(
`
basename
$cpu
`
)
done
\
< <
(
ls
-vd
$syscpu
/cpu[0-9]
*
)
freqdump
while
read
cpu
;
do
is
=
"idle:
`
cat
$sysidle
/current_driver
`
/
`
cat
$sysidle
/current_governor_ro
`
:"
while
read
state
;
do
# XXX add target residency?
...
...
@@ -451,11 +454,9 @@ header() {
idledump
idlestr
=
"
$is
"
fi
idlecpuv+
=(
$cpuname
)
idlecpuv+
=(
`
basename
$cpu
`
)
done
\
< <
(
ls
-vd
$syscpu
/cpu[0-9]
*
)
freqdump
idledump
#echo
...
...
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