This structure represents the Thread MLE counters.
#include <
include/openthread/thread.h
>
Public Attributes |
|
uint16_t | mDisabledRole |
Number of times device entered OT_DEVICE_ROLE_DISABLED role.
|
|
uint16_t | mDetachedRole |
Number of times device entered OT_DEVICE_ROLE_DETACHED role.
|
|
uint16_t | mChildRole |
Number of times device entered OT_DEVICE_ROLE_CHILD role.
|
|
uint16_t | mRouterRole |
Number of times device entered OT_DEVICE_ROLE_ROUTER role.
|
|
uint16_t | mLeaderRole |
Number of times device entered OT_DEVICE_ROLE_LEADER role.
|
|
uint16_t | mAttachAttempts |
Number of attach attempts while device was detached.
|
|
uint16_t | mPartitionIdChanges |
Number of changes to partition ID.
|
|
uint16_t | mBetterPartitionAttachAttempts |
Number of attempts to attach to a better partition.
|
|
uint64_t | mDisabledTime |
Role time tracking.
|
|
uint64_t | mDetachedTime |
Number of milliseconds device has been in OT_DEVICE_ROLE_DETACHED role.
|
|
uint64_t | mChildTime |
Number of milliseconds device has been in OT_DEVICE_ROLE_CHILD role.
|
|
uint64_t | mRouterTime |
Number of milliseconds device has been in OT_DEVICE_ROLE_ROUTER role.
|
|
uint64_t | mLeaderTime |
Number of milliseconds device has been in OT_DEVICE_ROLE_LEADER role.
|
|
uint64_t | mTrackedTime |
Number of milliseconds tracked by previous counters.
|
|
uint16_t | mParentChanges |
Number of times device changed its parent.
|
This structure represents the Thread MLE counters.
Member Data Documentation
◆ mDisabledTime
uint64_t otMleCounters::mDisabledTime |
Role time tracking.
When uptime feature is enabled (OPENTHREAD_CONFIG_UPTIME_ENABLE = 1) time spent in each MLE role is tracked.Number of milliseconds device has been in OT_DEVICE_ROLE_DISABLED role.
◆ mParentChanges
uint16_t otMleCounters::mParentChanges |
Number of times device changed its parent.
A parent change can happen if device detaches from its current parent and attaches to a different one, or even while device is attached when the periodic parent search feature is enabled (please see option OPENTHREAD_CONFIG_PARENT_SEARCH_ENABLE).
The documentation for this struct was generated from the following file:
-
include/openthread/
thread.h