OmniSciDB
a5dc49c757
|
#include <atomic>
#include <chrono>
#include <thread>
#include "DynamicWatchdog.h"
#include "Logger/Logger.h"
#include "Shared/funcannotations.h"
Go to the source code of this file.
Functions | |
static FORCE_INLINE uint64_t | read_cycle_counter (void) |
RUNTIME_EXPORT uint64_t | dynamic_watchdog_init (unsigned ms_budget) |
RUNTIME_EXPORT bool | dynamic_watchdog () |
RUNTIME_EXPORT bool dynamic_watchdog | ( | ) |
Definition at line 68 of file DynamicWatchdog.cpp.
References dw_abort, dw_cycle_budget, DW_DEADLINE, dw_sm_cycle_start, dynamic_watchdog_init(), get_smid(), logger::INFO, LOG, and read_cycle_counter().
RUNTIME_EXPORT uint64_t dynamic_watchdog_init | ( | unsigned | ms_budget | ) |
Definition at line 36 of file DynamicWatchdog.cpp.
References DW_ABORT, dw_abort, dw_cycle_budget, DW_DEADLINE, DW_RESET, read_cycle_counter(), and VLOG.
Referenced by dynamic_watchdog(), Executor::interrupt(), Executor::resetInterrupt(), and ExecutionKernel::runImpl().
|
static |
Definition at line 25 of file DynamicWatchdog.cpp.
Referenced by dynamic_watchdog(), and dynamic_watchdog_init().