Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ali Raheem
Tor
Commits
f0d5bcdb
Commit
f0d5bcdb
authored
Jan 21, 2021
by
Ali Raheem
Browse files
Properly offset wakeup time
parent
15c74e6c
Pipeline
#2257
failed with stage
in 28 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/feature/hibernate/hibernate.c
View file @
f0d5bcdb
...
...
@@ -669,7 +669,7 @@ accounting_set_wakeup_time(void)
double
t
=
(
get_uint32
(
digest
)
%
(
int
)
exp
(
time_to_consider
/
2
));
t
=
log
(
t
);
if
(
branch
==
1
)
t
=
-
t
;
interval_wakeup_time
=
interval_start_time
+
(
int
)
t
;
interval_wakeup_time
=
interval_start_time
+
time_to_consider
/
2
+
t
;
// interval_wakeup_time = interval_start_time +
// (get_uint32(digest) % time_to_consider);
}
...
...
Write
Preview
Supports
Markdown
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