Lines Matching defs:stats1
131 struct nugget_app_low_power_stats stats1;
157 memcpy(&stats1, buffer.data(), sizeof(stats1));
165 if (stats1.hard_reset_count == stats0.hard_reset_count + 1 &&
166 stats1.time_at_last_wake == 0 &&
167 stats1.deep_sleep_count == 0 &&
168 std::chrono::microseconds(stats1.time_since_hard_reset) < max_usecs) {
175 ShowStats("stats after waiting", stats1);
182 struct nugget_app_low_power_stats stats1;
206 memcpy(&stats1, buffer.data(), sizeof(stats1));
209 if (stats1.hard_reset_count == stats0.hard_reset_count &&
210 stats1.deep_sleep_count == stats0.deep_sleep_count + 1 &&
211 stats1.wake_count == stats0.wake_count + 1 &&
212 stats1.time_spent_in_deep_sleep > stats0.time_spent_in_deep_sleep) {
222 ShowStats("stats after waiting", stats1);
229 struct nugget_app_low_power_stats stats1;
257 memcpy(&stats1, buffer.data(), sizeof(stats1));
260 const bool ret = stats1.hard_reset_count == stats0.hard_reset_count;