|
PebbleOS v4.47.0-1219-g7c542d7a9
|
Destinations of the heartbeat records. More...
Data Structures | |
| struct | pbl_analytics_storage |
| Storage. More... | |
Macros | |
| #define | PBL_ANALYTICS_STORAGE_DEFINE(_name, _init, _store) |
| Define a storage. | |
Destinations of the heartbeat records.
A storage is defined with PBL_ANALYTICS_STORAGE_DEFINE, and gets every heartbeat record. Storages are initialized from pbl_analytics_init(), so whatever they depend on must be ready by then. Both operations run on the system work queue.
| #define PBL_ANALYTICS_STORAGE_DEFINE | ( | _name, | |
| _init, | |||
| _store | |||
| ) |
Define a storage.
| _name | Storage name, also its identifier. |
| _init | Init function, or nullptr. |
| _store | Store function. |