Lines Matching refs:int64_t
72 explicit UiFrameInfoBuilder(int64_t* buffer) : mBuffer(buffer) { in UiFrameInfoBuilder()
73 memset(mBuffer, 0, UI_THREAD_FRAME_INFO_SIZE * sizeof(int64_t)); in UiFrameInfoBuilder()
94 inline int64_t& set(FrameInfoIndex index) { return mBuffer[static_cast<int>(index)]; } in set()
96 int64_t* mBuffer;
101 void importUiThreadInfo(int64_t* info);
117 const int64_t* data() const { return mFrameInfo; } in data()
119 inline int64_t operator[](FrameInfoIndex index) const { return get(index); }
121 inline int64_t operator[](int index) const {
126 inline int64_t duration(FrameInfoIndex start, FrameInfoIndex end) const { in duration()
127 int64_t endtime = get(end); in duration()
128 int64_t starttime = get(start); in duration()
129 int64_t gap = endtime - starttime; in duration()
134 int64_t offset = get(FrameInfoIndex::SyncStart) - get(FrameInfoIndex::SyncQueued); in duration()
142 inline int64_t totalDuration() const { in totalDuration()
146 inline int64_t& set(FrameInfoIndex index) { return mFrameInfo[static_cast<int>(index)]; } in set()
148 inline int64_t get(FrameInfoIndex index) const { in get()
154 int64_t mFrameInfo[static_cast<int>(FrameInfoIndex::NumIndexes)];