Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
6434db5b
Commit
6434db5b
authored
Jan 31, 2016
by
Hisham
Browse files
Differentiate threads by default.
parent
dcfcae1e
Changes
1
Show whitespace changes
Inline
Side-by-side
Settings.c
View file @
6434db5b
...
@@ -323,6 +323,7 @@ Settings* Settings_new(int cpuCount) {
...
@@ -323,6 +323,7 @@ Settings* Settings_new(int cpuCount) {
this
->
updateProcessNames
=
false
;
this
->
updateProcessNames
=
false
;
this
->
cpuCount
=
cpuCount
;
this
->
cpuCount
=
cpuCount
;
this
->
showProgramPath
=
true
;
this
->
showProgramPath
=
true
;
this
->
highlightThreads
=
true
;
this
->
fields
=
calloc
(
Platform_numberOfFields
+
1
,
sizeof
(
ProcessField
));
this
->
fields
=
calloc
(
Platform_numberOfFields
+
1
,
sizeof
(
ProcessField
));
// TODO: turn 'fields' into a Vector,
// TODO: turn 'fields' into a Vector,
...
@@ -390,7 +391,7 @@ Settings* Settings_new(int cpuCount) {
...
@@ -390,7 +391,7 @@ Settings* Settings_new(int cpuCount) {
Settings_defaultMeters
(
this
);
Settings_defaultMeters
(
this
);
this
->
hideKernelThreads
=
true
;
this
->
hideKernelThreads
=
true
;
this
->
highlightMegabytes
=
true
;
this
->
highlightMegabytes
=
true
;
this
->
highlightThreads
=
fals
e
;
this
->
highlightThreads
=
tru
e
;
this
->
headerMargin
=
true
;
this
->
headerMargin
=
true
;
}
}
}
}
...
...
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