Home
last modified time | relevance | path

Searched refs:monitor (Results 1 – 25 of 44) sorted by relevance

12

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/MonitorTests/
DFeaturesTests.cs23 var commandInstance = new TestCommand(monitor); in AutoLoadCommandTest()
24 monitor.Parse("help", commandInteraction); in AutoLoadCommandTest()
34 monitor.Parse("emulation GetSeed", commandInteraction); in ShouldHandleNewExtensionsFromLoadedAssembly()
35 monitor.Parse($"i @{file}", commandInteraction); in ShouldHandleNewExtensionsFromLoadedAssembly()
36 monitor.Parse("emulation GetMockString", commandInteraction); in ShouldHandleNewExtensionsFromLoadedAssembly()
44 monitor = new Monitor(); in SetUp()
47 private Monitor monitor; field in Antmicro.Renode.MonitorTests.FeaturesTests
52 …public TestCommand(Monitor monitor):base(monitor, "featuresTests.TestCommand", "is just a test com… in TestCommand() argument
/Renode-Infrastructure-v1.15.3-29f510e/src/Plugins/TracePlugin/
DTracePlugin.cs16 public TracePlugin(Monitor monitor) in TracePlugin() argument
18 this.monitor = monitor; in TracePlugin()
19 traceCommand = new TraceCommand(monitor); in TracePlugin()
20 monitor.RegisterCommand(traceCommand); in TracePlugin()
25 monitor.UnregisterCommand(traceCommand); in Dispose()
29 private readonly Monitor monitor; field in Antmicro.Renode.Plugins.TracePlugin.TracePlugin
/Renode-Infrastructure-v1.15.3-29f510e/src/Plugins/SampleCommandPlugin/
DSampleCommandPlugin.cs18 public SampleCommandPlugin(Monitor monitor) in SampleCommandPlugin() argument
20 this.monitor = monitor; in SampleCommandPlugin()
21 helloCommand = new HelloCommand(monitor); in SampleCommandPlugin()
22 monitor.RegisterCommand(helloCommand); in SampleCommandPlugin()
27 monitor.UnregisterCommand(helloCommand); in Dispose()
31 private readonly Monitor monitor; field in Antmicro.Renode.Plugins.SampleCommandPlugin.SampleCommandPlugin
DHelloCommand.cs32 public HelloCommand(Monitor monitor) : base(monitor, "hello", "Greets a user.") in HelloCommand() argument
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Commands/
DAllowPrivatesCommand.cs21 var allowed = (monitor.CurrentBindingFlags & BindingFlags.NonPublic) > 0; in PrintHelp()
32 monitor.CurrentBindingFlags |= BindingFlags.NonPublic; in RunnableAttribute()
33 monitor.ClearCache(); in RunnableAttribute()
37 monitor.CurrentBindingFlags &= ~BindingFlags.NonPublic; in RunnableAttribute()
38 monitor.ClearCache(); in RunnableAttribute()
42 …public AllowPrivatesCommand(Monitor monitor):base(monitor, "allowPrivates","allow private fields a… in AllowPrivatesCommand() argument
DCommand.cs20 …tected AutoLoadCommand(Monitor monitor, string name, string description, params string[] alternati… in AutoLoadCommand() argument
27 protected readonly Monitor monitor; field in Antmicro.Renode.UserInterface.Commands.Command
29 …protected Command(Monitor monitor, string name, string description, params string[] alternativeNam… in Command() argument
31 this.monitor = monitor; in Command()
DNumbersModeCommand.cs23 writer.WriteLine(string.Format("Current mode: {0}", monitor.CurrentNumberFormat)); in PrintHelp()
36monitor.CurrentNumberFormat = (Monitor.NumberModes)Enum.Parse(typeof(Monitor.NumberModes), format.… in Run()
39 …public NumbersModeCommand(Monitor monitor):base(monitor, "numbersMode", "sets the way numbers are … in NumbersModeCommand() argument
DTimeCommand.cs21 Logger.LogAs(monitor, LogLevel.Info, output); in Run()
24 …public TimeCommand(Monitor monitor) : base(monitor, "currentTime", "prints out and logs the curren… in TimeCommand() argument
DExecuteCommand.cs40 if(!monitor.Parse(line, writer)) in Run()
48 if(!monitor.ParseTokens(tokens, writer)) in Run()
55 …mand(Monitor monitor, string name, string noun, Func<VariableToken, Token> getVariable, Func<IEnum… in ExecuteCommand() argument
DWatchCommand.cs38 monitor.Parse(command.Value, eater); in Run()
55 …public WatchCommand(Monitor monitor) : base(monitor, "watch", "executes a command periodically, sh… in WatchCommand() argument
DAnalyzersCommand.cs38 …p = (IPeripheral)monitor.ConvertValueOrThrowRecoverable(peripheralName.Value, typeof(IPeripheral)); in Run()
67 var m = monitor.Machine; in Run()
85 …public AnalyzersCommand(Monitor monitor) : base(monitor, "analyzers", "shows available analyzers f… in AnalyzersCommand() argument
DLogCommand.cs44 Logger.LogAs(monitor, logLevel, "Script: " + message); in InnerLog()
47 public LogCommand(Monitor monitor) in LogCommand() argument
48 : base(monitor, "log", "logs messages.") in LogCommand()
DRequireVariableCommand.cs20 …public RequireVariableCommand(Monitor monitor) : base(monitor, "require", "verifies the existence … in RequireVariableCommand() argument
DVersionCommand.cs21 … public VersionCommand(Monitor monitor) : base(monitor, "version", "shows version information.") in VersionCommand() argument
DPauseCommand.cs22 public PauseCommand(Monitor monitor) : base(monitor, "pause", "pauses the emulation.", "p") in PauseCommand() argument
DStringCommand.cs28 …public StringCommand(Monitor monitor) : base(monitor, "string", "treat given arguments as a single… in StringCommand() argument
DCreatePlatformCommand.cs62 monitor.TryExecuteScript(platform.ScriptPath, writer); in Execute()
65 …public CreatePlatformCommand(Monitor monitor, Action<Machine> changeCurrentMachine) : base(monitor in CreatePlatformCommand() argument
DShowBackendAnalyzerCommand.cs77 var m = monitor.Machine; in GetAnalyzer()
80 … p = (IPeripheral)monitor.ConvertValueOrThrowRecoverable(peripheralName, typeof(IPeripheral)); in GetAnalyzer()
126 …public ShowBackendAnalyzerCommand(Monitor monitor) : base(monitor, "showAnalyzer", "opens a periph… in ShowBackendAnalyzerCommand() argument
DVerboseCommand.cs29 …public VerboseCommand(Monitor monitor, Action<bool> setVerbosity) : base(monitor, "verboseMode", "… in VerboseCommand() argument
DQuitCommand.cs31 …public QuitCommand(Monitor monitor, Action<Machine> setCurrentMachine, Func<Action> quitted) : bas… in QuitCommand() argument
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/MonitorTests/CommandTests/
DPythonCommands.cs33 monitor.Parse("next_value", commandEater); in NextValueTest()
36 monitor.Parse("next_value", commandEater); in NextValueTest()
46 monitor.Parse("sleep 1", commandEater); in SleepTest()
48 monitor.Parse("sleep 5", commandEater); in SleepTest()
58 monitor.Parse(String.Format("echo \"{0}\"", text), commandEater); in EchoTest()
72 monitor.Parse(String.Format("dump {0} {1}", address, bytes.Length), commandEater); in DumpTest()
114monitor.Parse(String.Format("dump_file {0} {1} @{2}", address, bytes.Length, file), commandEater); in DumpFileTest()
133 monitor.Parse("mach create", commandEater); in BuildEmulation()
141 monitor = new Monitor(); in SetUp()
154 private Monitor monitor; field in Antmicro.Renode.MonitorTests.CommandTests.PythonCommands
DActionArguments.cs19 monitor = new Monitor(); in SetUp()
23 monitor.Parse($"i @{file}", commandEater); in SetUp()
79 monitor.Parse(command, commandEater); in CommandResultShouldContain()
104 private Monitor monitor; field in Antmicro.Renode.MonitorTests.CommandTests.ActionArguments
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DProgressMonitor.cs104 …public MonitoredAction(ProgressMonitor monitor, string description, bool cancelable, bool progress… in MonitoredAction() argument
106 this.monitor = monitor; in MonitoredAction()
126 monitor.UpdateDialog(); in UpdateProgress()
132 monitor.UpdateDialog(); in Finish()
145 private ProgressMonitor monitor; field in Antmicro.Renode.Utilities.ProgressMonitor.MonitoredAction
/Renode-Infrastructure-v1.15.3-29f510e/src/UI/
DCommandLineInterface.cs82 var monitor = new Antmicro.Renode.UserInterface.Monitor(); in Run()
83 context.RegisterSurrogate(typeof(Antmicro.Renode.UserInterface.Monitor), monitor); in Run()
102 var shell = PrepareShell(options, monitor); in Run()
155 private static Shell PrepareShell(Options options, Monitor monitor) in PrepareShell() argument
164 shell = ShellProvider.GenerateShell(monitor, true); in PrepareShell()
173 shell = ShellProvider.GenerateShell(monitor, true); in PrepareShell()
193 shell = ShellProvider.GenerateShell(monitor, forceVCursor: options.HideMonitor); in PrepareShell()
212 monitor.Quitted += shell.Stop; in PrepareShell()
215 monitor.Interaction = shell.Writer; in PrepareShell()
216monitor.MachineChanged += emu => shell.SetPrompt(emu != null ? new Prompt(string.Format("({0}) ", … in PrepareShell()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/
DMonitorPythonEngine.cs33 public MonitorPythonEngine(Monitor monitor) in MonitorPythonEngine() argument
35 this.monitor = monitor; in MonitorPythonEngine()
49 Scope.SetVariable("self", monitor); in MonitorPythonEngine()
50 Scope.SetVariable("monitor", monitor); in MonitorPythonEngine()
144 ….Instance.CurrentEmulation.TryGetEmulationElementByName(value as string, monitor.Machine, out var … in GetTokenValue()
190 private readonly Monitor monitor; field in Antmicro.Renode.UserInterface.MonitorPythonEngine

12