ProfilerValue
Public / Methods
Consume
2 overloads
Convenience method that delegates to IProfiler.Consume and IProfilerValueConsumer.Value in a null-safe way.
Convenience method that delegates to IProfiler.Consume and IProfilerValueConsumer.Value in a null-safe way.
Produce
2 overloads
Convenience method that delegates to IProfiler.Produce and IProfilerValueProducer.Value in a null-safe way.
The unit of value in is expected to be Unit.
Convenience method that delegates to IProfiler.Produce and IProfilerValueProducer.Value in a null-safe way.
Range
2 overloads
Specifies the acceptable value range.
The ProfilerValueRange.Good and ProfilerValueRange.Bad ranges are extrapolated from the acceptable range and lie before from in resp. after to in.
For example:
from = 30 ms, to = 60 ms : good < 30 ms, bad > 60 ms from = 60 Hz, to = 30 Hz : good > 60 Hz, bad < 30 Hz
Returns a value range.