MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / shouldExitDueToTimeout

Method shouldExitDueToTimeout

src/engine/Engine.cpp:2521–2529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2519}
2520
2521bool Engine::shouldExitDueToTimeout( double timeout ) const
2522{
2523 // A timeout value of 0 means no time limit
2524 if ( timeout == 0 )
2525 return false;
2526
2527 return static_cast<long double>( _statistics.getTotalTimeInMicro() ) / MICROSECONDS_TO_SECONDS >
2528 timeout;
2529}
2530
2531void Engine::preContextPushHook()
2532{

Callers

nothing calls this directly

Calls 1

getTotalTimeInMicroMethod · 0.80

Tested by

no test coverage detected