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