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
5578a316
Commit
5578a316
authored
Nov 27, 2014
by
Hisham Muhammad
Browse files
Merge branch 'master' of
https://github.com/hishamhm/htop
parents
52909560
e7484015
Changes
1
Hide whitespace changes
Inline
Side-by-side
linux/Platform.c
View file @
5578a316
...
@@ -77,7 +77,7 @@ int Platform_getUptime() {
...
@@ -77,7 +77,7 @@ int Platform_getUptime() {
fscanf
(
fd
,
"%64lf"
,
&
uptime
);
fscanf
(
fd
,
"%64lf"
,
&
uptime
);
fclose
(
fd
);
fclose
(
fd
);
}
}
int
totalseconds
=
(
int
)
floor
(
uptime
);
return
(
int
)
floor
(
uptime
);
}
}
void
Platform_getLoadAverage
(
double
*
one
,
double
*
five
,
double
*
fifteen
)
{
void
Platform_getLoadAverage
(
double
*
one
,
double
*
five
,
double
*
fifteen
)
{
...
...
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