Lines Matching refs:_stats
235 response->resize(sizeof(_stats)); in getCachedStats()
236 memcpy(response->data(), &_stats, sizeof(_stats)); in getCachedStats()
247 data1.totalTimeInStateMs = _stats.time_since_hard_reset / 1000; in onGetStats()
248 data1.totalStateEntryCount = _stats.hard_reset_count; in onGetStats()
254 data2.totalTimeInStateMs = _stats.time_spent_awake / 1000; in onGetStats()
255 data2.totalStateEntryCount = _stats.wake_count; in onGetStats()
256 data2.lastEntryTimestampMs = _stats.time_at_last_wake / 1000; in onGetStats()
261 data3.totalTimeInStateMs = _stats.time_spent_in_deep_sleep / 1000; in onGetStats()
262 data3.totalStateEntryCount = _stats.deep_sleep_count; in onGetStats()
263 data3.lastEntryTimestampMs = _stats.time_at_last_deep_sleep / 1000; in onGetStats()
275 struct nugget_app_low_power_stats _stats; member in __anonb746e1fa0111::CitadelProxy
290 buffer.reserve(sizeof(_stats)); in cacheStats()
296 memcpy(&_stats, buffer.data(), in cacheStats()
297 std::min(sizeof(_stats), buffer.size())); in cacheStats()