Skip to main content

%SYS.Bench.Run

SQL Table Name: %SYS_Bench.Run

Class structure used by %BENCHLANG routine Properties of a benchmark 'run' which will be the parent for a group of individual 'tests'.

Property Inventory

Method Inventory

Properties

property COSMark as %Float;
COSmark - system performance indicator based on a weighted total of all individual tests. Only computed for the default 'type' and 'duration', i.e ITERATIONS of 1000 CPU milliseconds. Will be '0' otherwise.
Property methods: COSMarkDisplayToLogical(), COSMarkGet(), COSMarkGetStored(), COSMarkIsValid(), COSMarkLogicalToDisplay(), COSMarkNormalize(), COSMarkSet()
property CPUNum as %Integer;
Number of CPUs on system
Property methods: CPUNumDisplayToLogical(), CPUNumGet(), CPUNumGetStored(), CPUNumIsValid(), CPUNumLogicalToDisplay(), CPUNumNormalize(), CPUNumSet()
property CPUSpeed as %Integer;
CPU speed in MHz.
Property methods: CPUSpeedDisplayToLogical(), CPUSpeedGet(), CPUSpeedGetStored(), CPUSpeedIsValid(), CPUSpeedLogicalToDisplay(), CPUSpeedNormalize(), CPUSpeedSet()
property Comments as %String (MAXLEN = 80);
Additional comments to identify the benchmark run.
Property methods: CommentsDisplayToLogical(), CommentsGet(), CommentsGetStored(), CommentsIsValid(), CommentsLogicalToDisplay(), CommentsLogicalToOdbc(), CommentsNormalize(), CommentsSet()
property Description as %String (MAXLEN = 80);
A text description of the run, including start date/time and any parameters.
Property methods: DescriptionDisplayToLogical(), DescriptionGet(), DescriptionGetStored(), DescriptionIsValid(), DescriptionLogicalToDisplay(), DescriptionLogicalToOdbc(), DescriptionNormalize(), DescriptionSet()
property Duration as %Integer;
The duration of each individual test, either the number of iterations or the CPU milliseconds.
Property methods: DurationDisplayToLogical(), DurationGet(), DurationGetStored(), DurationIsValid(), DurationLogicalToDisplay(), DurationNormalize(), DurationSet()
property SysName as %String (MAXLEN = 80);
Name of system
Property methods: SysNameDisplayToLogical(), SysNameGet(), SysNameGetStored(), SysNameIsValid(), SysNameLogicalToDisplay(), SysNameLogicalToOdbc(), SysNameNormalize(), SysNameSet()
relationship Tests as array of Test [ InitialExpression = $listbuild("%SYS.Bench.Test","TestRun",+$this,"children",1,1) , Transient , Inverse = TestRun , Cardinality = children ];
The results of the individual tests in this run
Property methods: TestsGet(), TestsGetObject(), TestsGetObjectId(), TestsGetSwizzled(), TestsIsEmpty(), TestsIsValid(), TestsNewObject(), TestsRClose(), TestsRExec(), TestsRFetch(), TestsRelate(), TestsSQLCompute(), TestsSet(), TestsUnRelate()
property Type as %String;
Either "ITERATIONS", "TIME" (elapsed time) or "CPU" (CPU time) to indicate which type of run this is.
Property methods: TypeDisplayToLogical(), TypeGet(), TypeGetStored(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()
property ZV as %String (MAXLEN = 512);
InterSystems IRIS version for this run
Property methods: ZVDisplayToLogical(), ZVGet(), ZVGetStored(), ZVIsValid(), ZVLogicalToDisplay(), ZVLogicalToOdbc(), ZVNormalize(), ZVSet()

Methods

method Inst1(Arg1 As %Integer) as %Status
A test instance method used by %BENCHLANG
method Inst2(Arg1 As %String, Arg2 As %Integer, ByRef Arg3 As %String) as %Status
A test instance method used by %BENCHLANG
classmethod Test() as %Status
Test method used by ^%BENCHLANG

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (%SYS.Bench.Run)

^%SYS.Bench.RunD(ID)
=
%%CLASSNAME
RunType
RunDescription
Test
TestTime
TestDescription
TestLoopCnt
TestCPUTime
Type
Description
Comments
Duration
ZV
CPUNum
CPUSpeed
SysName
COSMark
FeedbackOpens in a new tab