Searched refs:mOutputTimer (Results 1 – 3 of 3) sorted by relevance
47 private ArrayList<Long> mOutputTimer; field in Stats52 mOutputTimer = new ArrayList<>(); in Stats()69 public void addOutputTime() { mOutputTimer.add(System.nanoTime()); } in addOutputTime()80 if (mOutputTimer.size() != 0) { in reset()81 mOutputTimer.clear(); in reset()91 public ArrayList<Long> getOutputTimers() { return mOutputTimer; } in getOutputTimers()98 if (mOutputTimer.size() == 0) { in getTotalTime()101 long lastTime = mOutputTimer.get(mOutputTimer.size() - 1); in getTotalTime()146 if (mOutputTimer.size() == 0) { in dumpStatistics()152 long timeToFirstFrameNs = mOutputTimer.get(0) - mStartTimeNs; in dumpStatistics()[all …]
42 if (!mOutputTimer.size()) { in dumpStatistics()52 nsecs_t timeToFirstFrameNs = *mOutputTimer.begin() - mStartTimeNs; in dumpStatistics()59 for (int32_t idx = 0; idx < mOutputTimer.size() - 1; idx++) { in dumpStatistics()60 intervalNs = mOutputTimer.at(idx) - prevIntervalNs; in dumpStatistics()61 prevIntervalNs = mOutputTimer.at(idx); in dumpStatistics()80 rowData.append(to_string(totalTimeTakenNs / mOutputTimer.size()) + ", "); in dumpStatistics()118 if (!mOutputTimer.size()) { in uploadMetrics()123 nsecs_t timeToFirstFrameNs = *mOutputTimer.begin() - mStartTimeNs; in uploadMetrics()130 for (int32_t idx = 0; idx < mOutputTimer.size() - 1; idx++) { in uploadMetrics()131 intervalNs = mOutputTimer.at(idx) - prevIntervalNs; in uploadMetrics()[all …]
69 std::vector<nsecs_t> mOutputTimer; variable84 void addOutputTime() { mOutputTimer.push_back(systemTime(CLOCK_MONOTONIC)); } in addOutputTime()89 if (!mOutputTimer.empty()) mOutputTimer.clear(); in reset()92 std::vector<nsecs_t> getOutputTimer() { return mOutputTimer; } in getOutputTimer()101 if (mOutputTimer.empty()) return -1; in getTotalTime()102 return (*(mOutputTimer.end() - 1) - mStartTimeNs); in getTotalTime()