Home
last modified time | relevance | path

Searched refs:firstTimestampMap_ (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/drivers/peripheral/sensor/hdi_service/
H A Dsensor_callback_vdi.cpp31 static std::unordered_map<int32_t, int64_t> firstTimestampMap_; variable
74 if (firstTimestampMap_[event.sensorId] == 0) { in PrintData()
75 firstTimestampMap_[event.sensorId] = event.timestamp; in PrintData()
81 if (lastTimestampMap_[event.sensorId] - firstTimestampMap_[event.sensorId] >= REPOPRT_TIME) { in PrintData()
82 firstTimestampMap_[event.sensorId] = lastTimestampMap_[event.sensorId]; in PrintData()