Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Benchmarking.cs
1
using
System
;
2
3
namespace
Waher.Runtime.Profiling
4
{
8
public
class
Benchmarking
: IDisposable
9
{
10
private
readonly
IBenchmarker
benchmarker;
11
private
readonly
string
name;
12
private
readonly
long
m;
13
private
readonly
long
n;
14
private
readonly
long
startTicks;
15
24
internal
Benchmarking
(
IBenchmarker
Benchmarker,
string
Name,
long
N,
long
M,
25
long
StartTicks)
26
{
27
this.benchmarker = Benchmarker;
28
this.name = Name;
29
this.n = N;
30
this.m = M;
31
this.startTicks = StartTicks;
32
}
33
37
public
void
Dispose
()
38
{
39
this.benchmarker.Stop(this.name, this.n, this.m, this.startTicks);
40
}
41
}
42
}
Waher.Runtime.Profiling.Benchmarking
Class that keeps track of benchmarking results and timing.
Definition:
Benchmarking.cs:9
Waher.Runtime.Profiling.Benchmarking.Dispose
void Dispose()
Stops the benchmarking test and disposes the object.
Definition:
Benchmarking.cs:37
Waher.Runtime.Profiling.IBenchmarker
Class that keeps track of benchmarking results and timing.
Definition:
IBenchmarker.cs:9
System
Definition:
Adapters.g.cs:58
Waher.Runtime.Profiling
Definition:
Benchmarker1D.cs:8
IoTGateway
Runtime
Waher.Runtime.Profiling
Benchmarking.cs
Generated by
1.9.5