Commit 91c26c87 authored by Giorgis Georgakoudis's avatar Giorgis Georgakoudis

Fix power model for hybrid fw+ds

- Correct updating the activity before the sleep signaling
parent 41ae1387
......@@ -4418,7 +4418,7 @@ static void traceRP_update_activity(
assert( start_signal_sleep_time >= *next_fast_wake_shutdown_time );
if( *next_fast_wake_shutdown_time < now
&& now <= *next_deep_sleep_shutdown_time ) {
&& now < start_signal_sleep_time ) {
t_delay = p->traceRP_t_fast_wake;
......
......@@ -4059,7 +4059,7 @@ static void traceRP_update_activity(
assert( start_signal_sleep_time >= *next_fast_wake_shutdown_time );
if( *next_fast_wake_shutdown_time < now
&& now <= *next_deep_sleep_shutdown_time ) {
&& now < start_signal_sleep_time ) {
t_delay = p->traceRP_t_fast_wake;
......
......@@ -2837,7 +2837,7 @@ static void traceRP_update_activity(
assert( start_signal_sleep_time >= *next_fast_wake_shutdown_time );
if( *next_fast_wake_shutdown_time < now
&& now <= *next_deep_sleep_shutdown_time ) {
&& now < start_signal_sleep_time ) {
t_delay = p->traceRP_t_fast_wake;
......
......@@ -3530,7 +3530,7 @@ static void traceRP_update_activity(
assert( start_signal_sleep_time >= *next_fast_wake_shutdown_time );
if( *next_fast_wake_shutdown_time < now
&& now <= *next_deep_sleep_shutdown_time ) {
&& now < start_signal_sleep_time ) {
t_delay = p->traceRP_t_fast_wake;
......
......@@ -2384,7 +2384,7 @@ static void traceRP_update_activity(
assert( start_signal_sleep_time >= *next_fast_wake_shutdown_time );
if( *next_fast_wake_shutdown_time < now
&& now <= *next_deep_sleep_shutdown_time ) {
&& now < start_signal_sleep_time ) {
t_delay = p->traceRP_t_fast_wake;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment