Search Results for

    Show / Hide Table of Contents

    Class DummyAnalysis.Arguments

    Inheritance
    Object
    SubCommandBase
    DummyAnalysis.Arguments
    Inherited Members
    SubCommandBase.Parent
    SubCommandBase.OnExecuteAsync(CommandLineApplication)
    SubCommandBase.OnValidate(ValidationContext, CommandLineContext)
    SubCommandBase.Ok()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: AnalysisPrograms
    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
    Type Description
    Double
    | 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
    Type Description
    Double
    | Improve this Doc View Source

    Parallel

    Declaration
    [Option(Description = "Burn load on multiple CPU threads?")]
    public bool Parallel { get; set; }
    Property Value
    Type Description
    Boolean
    | 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
    Type Description
    Nullable<Int32>

    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
    Type Description
    Task<Int32>
    Overrides
    SubCommandBase.Execute(CommandLineApplication)

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top