|
TicksAlignToMillisecondDistribution Method
|
Returns a floor-aligned millisecond distribution timestamp for given timestamp.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax public static Ticks AlignToMillisecondDistribution(
Ticks timestamp,
int samplesPerSecond
)
Public Shared Function AlignToMillisecondDistribution (
timestamp As Ticks,
samplesPerSecond As Integer
) As Ticks
public:
static Ticks AlignToMillisecondDistribution(
Ticks timestamp,
int samplesPerSecond
)
static member AlignToMillisecondDistribution :
timestamp : Ticks *
samplesPerSecond : int -> Ticks
GSF.Ticks.AlignToMillisecondDistribution = function(timestamp, samplesPerSecond);
View SourceParameters
- timestamp Ticks
- Timestamp to align.
- samplesPerSecond Int32
- Samples per second to use for distribution.
Return Value
TicksA floor-aligned millisecond distribution timestamp for given
timestamp.
See Also