> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# simulation_completion_checker.h

```cpp theme={null}
 #pragma once

 #include "core/time/i_clock/i_clock.h"
 #include "core/time/i_simulation_completion_checker/i_simulation_completion_checker.h"

 namespace simulation_framework
 {

 namespace autonomy
 {

 using namespace core::time;

 class SimulationCompletionChecker : public ISimulationCompletionChecker
 {
   public:
     SimulationCompletionChecker(std::shared_ptr<core::time::IClock> clock_ptr);

     bool IsSimulationFinished() const;

     std::chrono::milliseconds GetSimulationDuration() const;

   private:
     std::shared_ptr<core::time::IClock> clock_ptr_{};
 };

 }  // namespace autonomy
 }  // namespace simulation_framework
```
