Searched refs:sleepTimeUs (Results 1 – 3 of 3) sorted by relevance
76 const long sleepTimeUs = std::min(totalOffsetUs, bufferDurationUs); in transfer() local77 LOG(VERBOSE) << __func__ << ": sleeping for " << sleepTimeUs << " us"; in transfer()78 usleep(sleepTimeUs); in transfer()
154 const long sleepTimeUs = std::min(totalOffsetUs, bufferDurationUs); in transfer() local155 LOG(VERBOSE) << __func__ << ": sleeping for " << sleepTimeUs << " us"; in transfer()156 usleep(sleepTimeUs); in transfer()
265 uint64_t sleepTimeUs = 1000000 / sps; in streamEnergyData() local274 if (usleep(sleepTimeUs) < 0) { in streamEnergyData()