Class DummyAnalysis.Arguments
Inheritance
DummyAnalysis.Arguments
Assembly: AnalysisPrograms.dll
Syntax
[Command("FakeAnalysis", Description = "A program designed to simulate load - does nothing other than burn CPU;")]
public class Arguments : SubCommandBase
Properties
|
Improve this Doc
View Source
DurationSeconds
Declaration
[Option(ShortName = "d", Description = "How many seconds to run for (roughly)")]
[InRange(0, 3600)]
public double DurationSeconds { get; set; }
Property Value
|
Improve this Doc
View Source
Jitter
Declaration
[Option(Description = "How much jitter should be applied to execution time of each thread. A random amount is chosen where 0 <= `Jitter` <= 1.")]
[InRange(0, 1)]
public double Jitter { get; set; }
Property Value
|
Improve this Doc
View Source
Parallel
Declaration
[Option(Description = "Burn load on multiple CPU threads?")]
public bool Parallel { get; set; }
Property Value
|
Improve this Doc
View Source
Seed
Declaration
[Option(Description = "Supply a seed to repeat the same randomnesss as a previous run")]
public int? Seed { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Execute(CommandLineApplication)
Declaration
public override Task<int> Execute(CommandLineApplication app)
Parameters
Type |
Name |
Description |
McMaster.Extensions.CommandLineUtils.CommandLineApplication |
app |
|
Returns
Overrides
Extension Methods