Class TaskSequence
Sequence of parallel or sequential tasks.
Inheritance
System.Object
TaskSequence
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class TaskSequence : PerfTask
Constructors
|
Improve this Doc
View Source
TaskSequence(PerfRunData, String, TaskSequence, Boolean)
Declaration
public TaskSequence(PerfRunData runData, String name, TaskSequence parent, bool parallel)
Parameters
Fields
|
Improve this Doc
View Source
REPEAT_EXHAUST
Declaration
public static int REPEAT_EXHAUST
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
IsCollapsable
Return true
if can be collapsed in case it is outermost sequence.
Declaration
public virtual bool IsCollapsable { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsParallel
Declaration
public virtual bool IsParallel { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Parent
Declaration
public virtual TaskSequence Parent { get; }
Property Value
|
Improve this Doc
View Source
Repetitions
Declaration
public virtual int Repetitions { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Tasks
Declaration
public virtual IList<PerfTask> Tasks { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddTask(PerfTask)
Declaration
public virtual void AddTask(PerfTask task)
Parameters
|
Improve this Doc
View Source
Clone()
Declaration
public override object Clone()
Returns
Type |
Description |
System.Object |
|
Overrides
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
|
Improve this Doc
View Source
DoLogic()
Declaration
public override int DoLogic()
Returns
Type |
Description |
System.Int32 |
|
Overrides
See Also
|
Improve this Doc
View Source
GetName()
Declaration
public override string GetName()
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
GetRate()
Returns the rate per minute: how many operations should be performed in a minute.
If 0 this has no effect.
Declaration
public virtual int GetRate()
Returns
Type |
Description |
System.Int32 |
The rate per min: how many operations should be performed in a minute.
|
|
Improve this Doc
View Source
SetNoChildReport()
Execute child tasks in a way that they do not report their time separately.
Declaration
public virtual void SetNoChildReport()
|
Improve this Doc
View Source
SetRate(Int32, Boolean)
Declaration
public virtual void SetRate(int rate, bool perMin)
Parameters
Type |
Name |
Description |
System.Int32 |
rate |
The rate to set.
|
System.Boolean |
perMin |
|
|
Improve this Doc
View Source
SetRepetitions(Int32)
Declaration
public virtual void SetRepetitions(int repetitions)
Parameters
Type |
Name |
Description |
System.Int32 |
repetitions |
The repetitions to set.
|
|
Improve this Doc
View Source
SetRunTime(Double)
Declaration
public virtual void SetRunTime(double sec)
Parameters
Type |
Name |
Description |
System.Double |
sec |
|
|
Improve this Doc
View Source
StopNow()
Declaration
public override void StopNow()
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides