mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
sourcestats: add function to get minsamples
This commit is contained in:
@@ -986,6 +986,14 @@ SST_Samples(SST_Stats inst)
|
|||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
||||||
|
int
|
||||||
|
SST_GetMinSamples(SST_Stats inst)
|
||||||
|
{
|
||||||
|
return inst->min_samples;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ================================================== */
|
||||||
|
|
||||||
void
|
void
|
||||||
SST_DoSourcestatsReport(SST_Stats inst, RPT_SourcestatsReport *report, struct timespec *now)
|
SST_DoSourcestatsReport(SST_Stats inst, RPT_SourcestatsReport *report, struct timespec *now)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -133,6 +133,8 @@ extern void SST_DoSourcestatsReport(SST_Stats inst, RPT_SourcestatsReport *repor
|
|||||||
|
|
||||||
extern int SST_Samples(SST_Stats inst);
|
extern int SST_Samples(SST_Stats inst);
|
||||||
|
|
||||||
|
extern int SST_GetMinSamples(SST_Stats inst);
|
||||||
|
|
||||||
extern double SST_GetJitterAsymmetry(SST_Stats inst);
|
extern double SST_GetJitterAsymmetry(SST_Stats inst);
|
||||||
|
|
||||||
#endif /* GOT_SOURCESTATS_H */
|
#endif /* GOT_SOURCESTATS_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user