Home | History | Annotate | Download | only in tools

Lines Matching full:stats1

100   struct nugget_app_low_power_stats stats1;
131 memcpy(&stats1, buffer.data(), sizeof(stats1));
139 if (stats1.hard_reset_count == stats0.hard_reset_count + 1 &&
140 stats1.time_at_last_wake == 0 &&
141 stats1.deep_sleep_count == 0 &&
142 std::chrono::microseconds(stats1.time_since_hard_reset) < max_usecs) {
149 ShowStats("stats after waiting", stats1);
156 struct nugget_app_low_power_stats stats1;
180 memcpy(&stats1, buffer.data(), sizeof(stats1));
183 if (stats1.hard_reset_count == stats0.hard_reset_count &&
184 stats1.deep_sleep_count == stats0.deep_sleep_count + 1 &&
185 stats1.wake_count == stats0.wake_count + 1 &&
186 stats1.time_spent_in_deep_sleep > stats0.time_spent_in_deep_sleep) {
196 ShowStats("stats after waiting", stats1);
203 struct nugget_app_low_power_stats stats1;
231 memcpy(&stats1, buffer.data(), sizeof(stats1));
234 const bool ret = stats1.hard_reset_count == stats0.hard_reset_count;