![]() |
Synergy Software Package User's Manual
|
#include <sf_thread_monitor_api.h>
Data Fields | |
| uint32_t | current_count |
| Current count value for a thread. | |
| uint32_t | minimum_count |
| uint32_t | maximum_count |
| bool | active |
| TX_THREAD * | p_thread |
| Pointer to thread for this counter data. | |
Counter block for each monitored thread.
| bool sf_thread_monitor_thread_counter_t::active |
Indicates to the monitoring thread whether this count data is currently active. When a thread is registered this value will be set to false as the count is likely to be a partial count and so should not be monitored. This value will be set to true by the thread monitor thread when it clears all counts to zero.
| uint32_t sf_thread_monitor_thread_counter_t::maximum_count |
Maximum expected count value. If the current count is more than this value the watchdog will reset
| uint32_t sf_thread_monitor_thread_counter_t::minimum_count |
Minimum expected count value. If the current count is less than this value the watchdog will reset.