hello luopinjing,
according to Topic 78821, post #14.
please enable below to capture the start-of-frame timestamp of the sensor signaling,
Argus::ICaptureMetadata::getSensorTimestamp
while EGL stream capture the timestamp when it rendering the frame to display. it’s close to end-of-frame of the sensor signaling,
EGLStream::IFrame::getTime
please also check this thread, Topic 159220,
it shows an example to calculate the HW capture timestamp (TSC) from system time.
thanks