Storm
A Modern Probabilistic Model Checker
|
Classes | |
class | SignalInformation |
Functions | |
std::size_t | usedCPU () |
Get used CPU time. | |
std::size_t | getMemoryLimit () |
Get memory limit. | |
void | setMemoryLimit (std::size_t megabytes) |
Set memory limit. | |
void | signalHandler (int signal) |
Signal handler for aborts, etc. | |
void | installSignalHandler (int maximalWaitTime) |
Register some signal handlers to detect and correctly handle abortion (due to timeout for example). | |
void | quickest_exit (int errorCode) |
Exit without cleanup. | |
void | setTimeoutAlarm (uint_fast64_t timeout) |
Set timeout by raising an alarm after timeout seconds. | |
void | resetTimeoutAlarm () |
bool | isTerminate () |
Check whether the program should terminate (due to some abort signal). | |
Variables | |
int | maxWaitTime = 0 |
|
inline |
void storm::utility::resources::installSignalHandler | ( | int | maximalWaitTime | ) |
Register some signal handlers to detect and correctly handle abortion (due to timeout for example).
Definition at line 58 of file SignalHandler.cpp.
|
inline |
Check whether the program should terminate (due to some abort signal).
Definition at line 113 of file SignalHandler.h.
|
inline |
Exit without cleanup.
errorCode | Error code to return. |
Definition at line 17 of file SignalHandler.h.
|
inline |
Definition at line 103 of file SignalHandler.h.
|
inline |
Set memory limit.
megabytes | Memory limit in MB. |
Definition at line 41 of file resources.h.
|
inline |
Set timeout by raising an alarm after timeout seconds.
timeout | Timeout in seconds. |
Definition at line 31 of file SignalHandler.h.
void storm::utility::resources::signalHandler | ( | int | signal | ) |
Signal handler for aborts, etc.
After the first signal the handler waits a number of seconds to let the program print preliminary results which were computed up this point. If the waiting time is exceeded or if a second signal was raised in the mean time, the program immediately terminates.
signal | Exit code of signal. |
Definition at line 32 of file SignalHandler.cpp.
|
inline |
int storm::utility::resources::maxWaitTime = 0 |
Definition at line 11 of file SignalHandler.cpp.