Home
last modified time | relevance | path

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

/system/libhwbinder/vts/performance/
DPerfTest.cpp102 void Results::addTime(uint64_t nano) { in addTime() argument
103 buckets_[min(nano, kMaxTimeBucket - 1) / kTimePerBucket] += 1; in addTime()
104 best_ = min(nano, best_); in addTime()
105 worst_ = max(nano, worst_); in addTime()
107 raw_data_->push_back(nano); in addTime()
110 total_time_ += nano; in addTime()
111 if (missDeadline(nano)) { in addTime()
140 for (auto nano : *raw_data_) { in flushRawData()
141 cout << (first ? "" : ",") << to_string(nano); in flushRawData()
DPerfTest.h90 inline bool missDeadline(uint64_t nano) const { return nano > deadline_us_ * 1000; } in missDeadline() argument
94 void addTime(uint64_t nano);
/system/extras/tests/icachetest/
DProfiler.h112 std::chrono::duration<uint64_t, std::nano> getWallTime() const { in getWallTime()
113 return std::chrono::duration<uint64_t, std::nano>(time_enabled); in getWallTime()
116 std::chrono::duration<uint64_t, std::nano> getRunningTime() const { in getRunningTime()
117 return std::chrono::duration<uint64_t, std::nano>(time_running); in getRunningTime()