PNetMark Namespace
PNetMark.FloatBenchmark Class
PNetMark.IBenchmark Interface
PNetMark.LogicBenchmark Class
PNetMark.LoopBenchmark Class
PNetMark.MethodBenchmark Class
PNetMark.PNetMark Class
PNetMark.RunBenchmark Class
PNetMark.SieveBenchmark Class
PNetMark.StopWatch Class
PNetMark.StringBenchmark Class
PNetMark.Version Class
public class FloatBenchmark: IBenchmark
System.Object
FloatBenchmarkThis type implements IBenchmark.
The FloatBenchmark class implements the IBenchmark interface, and runs number of floating-point tests.
PNetMark Namespace
FloatBenchmark Constructors
FloatBenchmark Methods
FloatBenchmark.CleanUp Method
FloatBenchmark.Initialize Method
FloatBenchmark.Run Method
FloatBenchmark Fields
FloatBenchmark.maxDegrees Field
FloatBenchmark.vA Field
FloatBenchmark.vB Field
FloatBenchmark.xA Field
FloatBenchmark Properties
FloatBenchmark.Magnification Property
FloatBenchmark.Name Property
public FloatBenchmark();
Construct a new FloatBenchmark instance.
PNetMark.FloatBenchmark Class, PNetMark Namespace
public void CleanUp();
Clean up after the benchmark has been run.
PNetMark.FloatBenchmark Class, PNetMark Namespace
public bool Initialize(int size);
Initialize the benchmark to run on this system.
- size
- A value that indicates the size of the benchmark to run. This should be zero to use the default value.
Returnstrue
if the benchmark could be initialized, orfalse
otherwise.
PNetMark.FloatBenchmark Class, PNetMark Namespace
public void Run();
Run the benchmark.
PNetMark.FloatBenchmark Class, PNetMark Namespace
public int maxDegrees
PNetMark.FloatBenchmark Class, PNetMark Namespace
public double[,] vA
PNetMark.FloatBenchmark Class, PNetMark Namespace
public double[,] vB
PNetMark.FloatBenchmark Class, PNetMark Namespace
public double[,] xA
PNetMark.FloatBenchmark Class, PNetMark Namespace
public int Magnification { get; }
Get the magnification factor for test scoring.
The magnification factor.
PNetMark.FloatBenchmark Class, PNetMark Namespace
public System.String Name { get; }
Get the name of the benchmark.
A System.String that contains the name of the benchmark.
PNetMark.FloatBenchmark Class, PNetMark Namespace
public abstract interface IBenchmark
The IBenchmark interface is implemented by classes that wish to provide benchmarking facilities.
PNetMark Namespace
IBenchmark Methods
IBenchmark.CleanUp Method
IBenchmark.Initialize Method
IBenchmark.Run Method
IBenchmark Properties
public virtual abstract void CleanUp();
Clean up after the benchmark has been run.
PNetMark.IBenchmark Interface, PNetMark Namespace
public virtual abstract bool Initialize(int size);
Initialize the benchmark to run on this system.
- size
- A value that indicates the size of the benchmark to run. This should be zero to use the default value.
Returnstrue
if the benchmark could be initialized, orfalse
otherwise.
PNetMark.IBenchmark Interface, PNetMark Namespace
public virtual abstract void Run();
Run the benchmark.
PNetMark.IBenchmark Interface, PNetMark Namespace
public virtual abstract int Magnification { get; }
Get the magnification factor for test scoring.
The magnification factor.
PNetMark.IBenchmark Interface, PNetMark Namespace
public virtual abstract System.String Name { get; }
Get the name of the benchmark.
A System.String that contains the name of the benchmark.
PNetMark.IBenchmark Interface, PNetMark Namespace
public class LogicBenchmark: IBenchmark
System.Object
LogicBenchmarkThis type implements IBenchmark.
The LogicBenchmark class implements the IBenchmark interface, and runs number of logic tests.
PNetMark Namespace
LogicBenchmark Constructors
LogicBenchmark Methods
LogicBenchmark.CleanUp Method
LogicBenchmark.Initialize Method
LogicBenchmark.Run Method
LogicBenchmark Fields
LogicBenchmark.numIterations Field
LogicBenchmark Properties
LogicBenchmark.Magnification Property
LogicBenchmark.Name Property
public LogicBenchmark();
Construct a new LogicBenchmark instance.
PNetMark.LogicBenchmark Class, PNetMark Namespace
public void CleanUp();
Clean up after the benchmark has been run.
PNetMark.LogicBenchmark Class, PNetMark Namespace
public bool Initialize(int size);
Initialize the benchmark to run on this system.
- size
- A value that indicates the size of the benchmark to run. This should be zero to use the default value.
Returnstrue
if the benchmark could be initialized, orfalse
otherwise.
PNetMark.LogicBenchmark Class, PNetMark Namespace
public void Run();
Run the benchmark.
PNetMark.LogicBenchmark Class, PNetMark Namespace
public int numIterations
PNetMark.LogicBenchmark Class, PNetMark Namespace
public int Magnification { get; }
Get the magnification factor for test scoring.
The magnification factor.
PNetMark.LogicBenchmark Class, PNetMark Namespace
public System.String Name { get; }
Get the name of the benchmark.
A System.String that contains the name of the benchmark.
PNetMark.LogicBenchmark Class, PNetMark Namespace
public class LoopBenchmark: IBenchmark
System.Object
LoopBenchmarkThis type implements IBenchmark.
The LoopBenchmark class implements the IBenchmark interface to test the looping facilities of the runtime engine.
PNetMark Namespace
LoopBenchmark Constructors
LoopBenchmark Methods
LoopBenchmark.CleanUp Method
LoopBenchmark.Initialize Method
LoopBenchmark.Run Method
LoopBenchmark Fields
LoopBenchmark.count Field
LoopBenchmark.dummy Field
LoopBenchmark.fibs Field
LoopBenchmark Properties
LoopBenchmark.Magnification Property
LoopBenchmark.Name Property
public LoopBenchmark();
Construct a new LoopBenchmark instance.
PNetMark.LoopBenchmark Class, PNetMark Namespace
public void CleanUp();
Clean up after the benchmark has been run.
PNetMark.LoopBenchmark Class, PNetMark Namespace
public bool Initialize(int size);
Initialize the benchmark to run on this system.
- size
- A value that indicates the size of the benchmark to run. This should be zero to use the default value.
Returnstrue
if the benchmark could be initialized, orfalse
otherwise.
PNetMark.LoopBenchmark Class, PNetMark Namespace
public void Run();
Run the benchmark.
PNetMark.LoopBenchmark Class, PNetMark Namespace
public int count
PNetMark.LoopBenchmark Class, PNetMark Namespace
public int dummy
PNetMark.LoopBenchmark Class, PNetMark Namespace
public int[] fibs
PNetMark.LoopBenchmark Class, PNetMark Namespace
public int Magnification { get; }
Get the magnification factor for test scoring.
The magnification factor.
PNetMark.LoopBenchmark Class, PNetMark Namespace
public System.String Name { get; }
Get the name of the benchmark.
A System.String that contains the name of the benchmark.
PNetMark.LoopBenchmark Class, PNetMark Namespace
public class MethodBenchmark: IBenchmark
System.Object
MethodBenchmarkThis type implements IBenchmark.
The MethodBenchmark class implements the IBenchmark interface, and runs number of method tests.
PNetMark Namespace
MethodBenchmark Constructors
MethodBenchmark Methods
MethodBenchmark.ArithmeticSeries Method
MethodBenchmark.CleanUp Method
MethodBenchmark.Initialize Method
MethodBenchmark.NotInlineableSeries Method
MethodBenchmark.Run Method
MethodBenchmark Fields
MethodBenchmark.depthCount Field
MethodBenchmark.numIterations Field
MethodBenchmark Properties
MethodBenchmark.Magnification Property
MethodBenchmark.Name Property
public MethodBenchmark();
Construct a new MethodBenchmark instance.
PNetMark.MethodBenchmark Class, PNetMark Namespace
public int ArithmeticSeries(int iter);
Compute an arithmetic series.
Returns the result of the series.
PNetMark.MethodBenchmark Class, PNetMark Namespace
public void CleanUp();
Clean up after the benchmark has been run.
PNetMark.MethodBenchmark Class, PNetMark Namespace
public bool Initialize(int size);
Initialize the benchmark to run on this system.
- size
- A value that indicates the size of the benchmark to run. This should be zero to use the default value.
Returnstrue
if the benchmark could be initialized, orfalse
otherwise.
PNetMark.MethodBenchmark Class, PNetMark Namespace
public int NotInlineableSeries(int iter);
Compute an arithmetic series, and attempt to disable JIT inlining.
Returns the result of the series.
PNetMark.MethodBenchmark Class, PNetMark Namespace
public void Run();
Run the benchmark.
PNetMark.MethodBenchmark Class, PNetMark Namespace
public int depthCount
PNetMark.MethodBenchmark Class, PNetMark Namespace
public int numIterations
PNetMark.MethodBenchmark Class, PNetMark Namespace
public int Magnification { get; }
Get the magnification factor for test scoring.
The magnification factor.
PNetMark.MethodBenchmark Class, PNetMark Namespace
public System.String Name { get; }
Get the name of the benchmark.
A System.String that contains the name of the benchmark.
PNetMark.MethodBenchmark Class, PNetMark Namespace
public class PNetMark
System.Object
PNetMark
The PNetMark class is the main entry point for the Portable.NET benchmark.
PNetMark Namespace
PNetMark Constructors
PNetMark Methods
public PNetMark();
PNetMark.PNetMark Class, PNetMark Namespace
public static int Main(System.String[] args);
Main entry point for the Portable.NET benchmark.
Returns the exit status for the process, which is 1 if an error occurred.
PNetMark.PNetMark Class, PNetMark Namespace
public int Run(System.String[] args);
Run the Portable.NET benchmark.
Returns the exit status for the process, which is non-zero if an error occurred.
PNetMark.PNetMark Class, PNetMark Namespace
public class RunBenchmark
System.Object
RunBenchmark
The RunBenchmark class executes a particular benchmark and determines its score.
PNetMark Namespace
RunBenchmark Constructors
RunBenchmark Methods
RunBenchmark Properties
public RunBenchmark(PNetMark.IBenchmark benchmark);
Construct a new RunBenchmark instance.
- benchmark
- The benchmark to be executed.
PNetMark.RunBenchmark Class, PNetMark Namespace
public int GetScore();
Determine the test score for this benchmark.
Returns the score value, or -1 if the benchmark ran too fast for its score to be measured.
PNetMark.RunBenchmark Class, PNetMark Namespace
public System.String Name { get; }
Get the name of the benchmark.
A System.String that contains the name of the benchmark.
PNetMark.RunBenchmark Class, PNetMark Namespace
public class SieveBenchmark: IBenchmark
System.Object
SieveBenchmarkThis type implements IBenchmark.
The SieveBenchmark class implements the IBenchmark interface, and runs a prime number sieve.
PNetMark Namespace
SieveBenchmark Constructors
SieveBenchmark Methods
SieveBenchmark.CleanUp Method
SieveBenchmark.Initialize Method
SieveBenchmark.Run Method
SieveBenchmark Fields
SieveBenchmark.maxPrime Field
SieveBenchmark.primes Field
SieveBenchmark Properties
SieveBenchmark.Magnification Property
SieveBenchmark.Name Property
public SieveBenchmark();
Construct a new SieveBenchmark instance.
PNetMark.SieveBenchmark Class, PNetMark Namespace
public void CleanUp();
Clean up after the benchmark has been run.
PNetMark.SieveBenchmark Class, PNetMark Namespace
public bool Initialize(int size);
Initialize the benchmark to run on this system.
- size
- A value that indicates the size of the benchmark to run. This should be zero to use the default value.
Returnstrue
if the benchmark could be initialized, orfalse
otherwise.
PNetMark.SieveBenchmark Class, PNetMark Namespace
public void Run();
Run the benchmark.
PNetMark.SieveBenchmark Class, PNetMark Namespace
public int maxPrime
PNetMark.SieveBenchmark Class, PNetMark Namespace
public int[] primes
PNetMark.SieveBenchmark Class, PNetMark Namespace
public int Magnification { get; }
Get the magnification factor for test scoring.
The magnification factor.
PNetMark.SieveBenchmark Class, PNetMark Namespace
public System.String Name { get; }
Get the name of the benchmark.
A System.String that contains the name of the benchmark.
PNetMark.SieveBenchmark Class, PNetMark Namespace
public class StopWatch
System.Object
StopWatch
The StopWatch class provides a facility to measure the elapsed time of a benchmark.
PNetMark Namespace
StopWatch Constructors
StopWatch Methods
StopWatch.Clear Method
StopWatch.Start Method
StopWatch.Stop Method
StopWatch Properties
public StopWatch();
Construct a new StopWatch instance.
PNetMark.StopWatch Class, PNetMark Namespace
public void Clear();
Clear the stop-watch state. If the stop-watch is running, then it will start measuring again from the current time.
PNetMark.StopWatch Class, PNetMark Namespace
public void Start();
Start the stop-watch running.
PNetMark.StopWatch Class, PNetMark Namespace
public void Stop();
Stop the stop-watch running.
PNetMark.StopWatch Class, PNetMark Namespace
public System.TimeSpan Elapsed { get; }
Get the elapsed time. The value will be only as accurate as the "Now" property in System.DateTime. The accuracy of that value is system-dependent.
The elapsed time in ticks.
PNetMark.StopWatch Class, PNetMark Namespace
public class StringBenchmark: IBenchmark
System.Object
StringBenchmarkThis type implements IBenchmark.
The StringBenchmark class implements the IBenchmark interface, and runs number of string tests.
PNetMark Namespace
StringBenchmark Constructors
StringBenchmark Methods
StringBenchmark.CleanUp Method
StringBenchmark.Initialize Method
StringBenchmark.Run Method
StringBenchmark Fields
StringBenchmark.numIterations Field
StringBenchmark.pattern1 Field
StringBenchmark.pattern2 Field
StringBenchmark.pattern3 Field
StringBenchmark Properties
StringBenchmark.Magnification Property
StringBenchmark.Name Property
public StringBenchmark();
Construct a new StringBenchmark instance.
PNetMark.StringBenchmark Class, PNetMark Namespace
public void CleanUp();
Clean up after the benchmark has been run.
PNetMark.StringBenchmark Class, PNetMark Namespace
public bool Initialize(int size);
Initialize the benchmark to run on this system.
- size
- A value that indicates the size of the benchmark to run. This should be zero to use the default value.
Returnstrue
if the benchmark could be initialized, orfalse
otherwise.
PNetMark.StringBenchmark Class, PNetMark Namespace
public void Run();
Run the benchmark.
PNetMark.StringBenchmark Class, PNetMark Namespace
public int numIterations
PNetMark.StringBenchmark Class, PNetMark Namespace
public System.String pattern1
PNetMark.StringBenchmark Class, PNetMark Namespace
public System.String pattern2
PNetMark.StringBenchmark Class, PNetMark Namespace
public System.String pattern3
PNetMark.StringBenchmark Class, PNetMark Namespace
public int Magnification { get; }
Get the magnification factor for test scoring.
The magnification factor.
PNetMark.StringBenchmark Class, PNetMark Namespace
public System.String Name { get; }
Get the name of the benchmark.
A System.String that contains the name of the benchmark.
PNetMark.StringBenchmark Class, PNetMark Namespace
public sealed class Version
System.Object
Version
The Version class defines the version number for the Portable.NET benchmark.
PNetMark Namespace
Version Constructors
Version Fields
public Version();
PNetMark.Version Class, PNetMark Namespace
public static readonly System.String VersionString
PNetMark.Version Class, PNetMark Namespace