mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-06-13 01:46:00 +00:00
16 lines
309 B
C++
16 lines
309 B
C++
#include <sta/tacos/debug.hpp>
|
|
|
|
|
|
namespace sta
|
|
{
|
|
namespace tacos
|
|
{
|
|
#ifdef STA_TACOS_WATCHDOG_ENABLED
|
|
uint16_t getNumThreadRestarts()
|
|
{
|
|
return Watchdog::instance()->getNumRestarts();
|
|
}
|
|
#endif // STA_TACOS_WATCHDOG_ENABLED
|
|
} // namespace tacos
|
|
} // namespace sta
|