Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/
DFrameStats.cpp26 const size_t timestampSize = sizeof(nsecs_t); in getFlattenedSize() local
28 size_t size = timestampSize; in getFlattenedSize()
29 size += 3 * desiredPresentTimesNano.size() * timestampSize; in getFlattenedSize()
40 const size_t timestampSize = sizeof(nsecs_t); in flatten() local
43 memcpy(timestamps, &refreshPeriodNano, timestampSize); in flatten()
46 memcpy(timestamps, desiredPresentTimesNano.array(), frameCount * timestampSize); in flatten()
49 memcpy(timestamps, actualPresentTimesNano.array(), frameCount * timestampSize); in flatten()
52 memcpy(timestamps, frameReadyTimesNano.array(), frameCount * timestampSize); in flatten()
58 const size_t timestampSize = sizeof(nsecs_t); in unflatten() local
60 if (size < timestampSize) { in unflatten()
[all …]