public Job(string id) : base(id) { EnvCharacteristic[this] = new EnvMode(); RunCharacteristic[this] = new RunMode(); InfrastructureCharacteristic[this] = new InfrastructureMode(); AccuracyCharacteristic[this] = new AccuracyMode(); }
public Job(string id) : base(id) { EnvironmentCharacteristic[this] = new EnvironmentMode(); RunCharacteristic[this] = new RunMode(); InfrastructureCharacteristic[this] = new InfrastructureMode(); AccuracyCharacteristic[this] = new AccuracyMode(); MetaCharacteristic[this] = new MetaMode(); }
public static AccuracyMode Parse(CharacteristicSet set) { var mode = new AccuracyMode(); mode.MaxStdErrRelative = mode.MaxStdErrRelative.Mutate(set); mode.MinIterationTime = mode.MinIterationTime.Mutate(set); mode.MinInvokeCount = mode.MinInvokeCount.Mutate(set); mode.EvaluateOverhead = mode.EvaluateOverhead.Mutate(set); mode.RemoveOutliers = mode.RemoveOutliers.Mutate(set); mode.AnaylyzeLaunchVariance = mode.AnaylyzeLaunchVariance.Mutate(set); return(mode); }
public static Job Parse(CharacteristicSet set, bool clearId = true) { var job = new Job(); if (!clearId) { job.Id = job.Id.Mutate(set); } job.Env = EnvMode.Parse(set); job.Run = RunMode.Parse(set); job.Infrastructure = InfrastructureMode.Parse(set); job.Accuracy = AccuracyMode.Parse(set); return(job); }