/// <summary> /// Create a new job as a copy of the original job with specific time of a single iteration /// </summary> /// <param name="job">Original job</param> /// <param name="iterationTime">Iteration time in Millisecond or Auto</param> /// <returns></returns> public static IJob WithIterationTime(this IJob job, Count iterationTime) => job.With(j => j.IterationTime = iterationTime);
public static IJob WithTargetCount(this IJob job, Count targetCount) => job.With(j => j.TargetCount = targetCount);
public static IJob WithAffinity(this IJob job, Count affinity) => job.With(j => j.Affinity = affinity);
public static IJob WithLaunchCount(this IJob job, Count launchCount) => job.With(j => j.LaunchCount = launchCount);
public static IJob WithWarmupCount(this IJob job, Count warmupCount) => job.With(j => j.WarmupCount = warmupCount);