|
TicksRoundToSubsecondDistribution Method
|
Returns the nearest sub-second distribution timestamp for given timestamp.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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