Searched refs:collectionSize (Results 1 – 1 of 1) sorted by relevance
99 int collectionSize = collection.size(); in getSamplingPeriodNs() local100 if (collectionSize < 2) { in getSamplingPeriodNs()104 TestSensorEvent lastEvent = collection.get(collectionSize - 1); in getSamplingPeriodNs()105 return (lastEvent.timestamp - firstEvent.timestamp) / (collectionSize - 1); in getSamplingPeriodNs()