Searched refs:periodMs (Results 1 – 1 of 1) sorted by relevance
915 int64_t periodMs = samplingPeriod / 1000000; //ns -> ms in batch() local918 periodMs = std::min(periodMs, static_cast<int64_t>(UINT16_MAX)); in batch()919 buffer[mReportIntervalOffset] = periodMs & 0xFF; in batch()920 buffer[mReportIntervalOffset + 1] = (periodMs >> 8) & 0xFF; in batch()923 periodMs = std::min(periodMs, static_cast<int64_t>(UINT32_MAX)); in batch()924 buffer[mReportIntervalOffset] = periodMs & 0xFF; in batch()925 buffer[mReportIntervalOffset + 1] = (periodMs >> 8) & 0xFF; in batch()926 buffer[mReportIntervalOffset + 2] = (periodMs >> 16) & 0xFF; in batch()927 buffer[mReportIntervalOffset + 3] = (periodMs >> 24) & 0xFF; in batch()