//
// Copyright (c) 2010-2024 Antmicro
//
// This file is licensed under the MIT License.
// Full license text is available in 'licenses/MIT.txt'.
//
namespace Antmicro.Renode.Time
{
public enum TimeSourceState
{
///
/// Time source is idle - it is currently not involved in handling virtual time flow.
///
Idle,
///
/// Synchronization hook is currently executed.
///
///
/// All handles managed by this time source are in a safe state.
///
ExecutingSyncHook,
///
/// Delayed actions scheduled before the current virtual time are executed.
///
///
/// All handles managed by this time source are in a safe state.
///
ExecutingDelayedActions,
///
/// Virtual time quantum is being granted to handles managed by this time source.
///
ReportingElapsedTime,
///
/// Time source is waiting until the slaves finish the execution of previously granted time quantum.
///
WaitingForReportBack
}
}