예제 #1
0
 /// <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);
예제 #2
0
 public static IJob WithTargetCount(this IJob job, Count targetCount) => job.With(j => j.TargetCount = targetCount);
예제 #3
0
 public static IJob WithAffinity(this IJob job, Count affinity) => job.With(j => j.Affinity = affinity);
예제 #4
0
 public static IJob WithLaunchCount(this IJob job, Count launchCount) => job.With(j => j.LaunchCount = launchCount);
예제 #5
0
 public static IJob WithWarmupCount(this IJob job, Count warmupCount) => job.With(j => j.WarmupCount = warmupCount);
예제 #6
0
 /// <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);
예제 #7
0
 public static IJob WithAffinity(this IJob job, Count affinity) => job.With(j => j.Affinity          = affinity);
예제 #8
0
 public static IJob WithTargetCount(this IJob job, Count targetCount) => job.With(j => j.TargetCount = targetCount);
예제 #9
0
 public static IJob WithWarmupCount(this IJob job, Count warmupCount) => job.With(j => j.WarmupCount = warmupCount);
예제 #10
0
 public static IJob WithLaunchCount(this IJob job, Count launchCount) => job.With(j => j.LaunchCount = launchCount);