TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface IProfiler in Tinman.Engine.Profiling

Base interface for classes that provide means to consume and produce profiler values.

interface IProfiler base of Profiler

Attributes

ProfilerValues

The list of existing profiler values, sorted ascending by their name (see Name).

property ProfilerValues { get }
type IVectorConst<ProfilerValue>
value [not-null] The sorted profiler value list.

Methods

Consume

Consumes a profiler value.

method Consume (ProfilerValue value)
type IProfilerValueConsumer
params value [not-null] The profiler value.
returns [not-null] The profiler value consumer.

Contains

Does this profiler contain the given profiler value?

method Contains (ProfilerValue value)
type bool
params value [not-null] The profiler value.
returns true if the profiler value is contained,
false if not.

Produce

Produces a profiler value.

method Produce (ProfilerValue value)
type IProfilerValueProducer
params value [not-null] The profiler value.
returns [not-null] The profiler value producer.

ValueRangeForUnit

Returns the conservative value range for all profiler values that have the given unit.

method ValueRangeForUnit (ProfilerValueUnit unit)
type RangeD
params unit The value unit.
returns The value range.