|
TicksRoundToSubsecondDistribution Method
|
Returns the nearest sub-second distribution timestamp for given timestamp.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax public static Ticks RoundToSubsecondDistribution(
Ticks timestamp,
int samplesPerSecond
)
Public Shared Function RoundToSubsecondDistribution (
timestamp As Ticks,
samplesPerSecond As Integer
) As Ticks
public:
static Ticks RoundToSubsecondDistribution(
Ticks timestamp,
int samplesPerSecond
)
static member RoundToSubsecondDistribution :
timestamp : Ticks *
samplesPerSecond : int -> Ticks
GSF.Ticks.RoundToSubsecondDistribution = function(timestamp, samplesPerSecond);
View SourceParameters
- timestamp Ticks
- Timestamp to align.
- samplesPerSecond Int32
- Samples per second to use for distribution.
Return Value
TicksThe nearest sub-second distribution timestamp for given
timestamp.
See Also