Searched refs:stats0 (Results 1 – 1 of 1) sorted by relevance
130 struct nugget_app_low_power_stats stats0; in RebootNugget() local141 memcpy(&stats0, buffer.data(), sizeof(stats0)); in RebootNugget()165 if (stats1.hard_reset_count == stats0.hard_reset_count + 1 && in RebootNugget()174 ShowStats("stats before waiting", stats0); in RebootNugget()181 struct nugget_app_low_power_stats stats0; in WaitForSleep() local192 memcpy(&stats0, buffer.data(), sizeof(stats0)); in WaitForSleep()209 if (stats1.hard_reset_count == stats0.hard_reset_count && in WaitForSleep()210 stats1.deep_sleep_count == stats0.deep_sleep_count + 1 && in WaitForSleep()211 stats1.wake_count == stats0.wake_count + 1 && in WaitForSleep()212 stats1.time_spent_in_deep_sleep > stats0.time_spent_in_deep_sleep) { in WaitForSleep()[all …]