Home
last modified time | relevance | path

Searched refs:time_point (Results 1 – 25 of 71) sorted by relevance

123

/hardware/google/pixel/power-libperfmgr/aidl/
DUClampVoter.h54 VoteRange(bool active, std::chrono::steady_clock::time_point startTime, in VoteRange()
62 std::chrono::steady_clock::time_point startTime() const { return mStartTime; } in startTime()
74 inline bool isTimeInRange(std::chrono::steady_clock::time_point t) const { in isTimeInRange()
80 std::chrono::steady_clock::time_point mStartTime{};
86 CpuVote(bool active, std::chrono::steady_clock::time_point startTime, in CpuVote()
94 GpuVote(bool active, std::chrono::steady_clock::time_point startTime, in GpuVote()
122 void getUclampRange(UclampRange &uclampRange, std::chrono::steady_clock::time_point t) const;
124 std::optional<Cycles> getGpuCapacityRequest(std::chrono::steady_clock::time_point t) const;
126 bool anyTimedOut(std::chrono::steady_clock::time_point t) const;
129 bool allTimedOut(std::chrono::steady_clock::time_point t) const;
[all …]
DSessionTaskMap.h51 std::chrono::steady_clock::time_point startTime,
54 std::chrono::steady_clock::time_point startTime,
60 void getTaskVoteRange(pid_t taskId, std::chrono::steady_clock::time_point timeNow,
63 Cycles getSessionsGpuCapacity(std::chrono::steady_clock::time_point time_point) const;
72 bool isAnyAppSessionActive(std::chrono::steady_clock::time_point timePoint) const;
DUClampVoter.cpp27 std::chrono::steady_clock::time_point t) { in confine()
56 std::optional<Cycles> Votes::getGpuCapacityRequest(std::chrono::steady_clock::time_point t) const { in getGpuCapacityRequest()
95 std::chrono::steady_clock::time_point t) const { in getUclampRange()
102 bool Votes::anyTimedOut(std::chrono::steady_clock::time_point t) const { in anyTimedOut()
117 bool Votes::allTimedOut(std::chrono::steady_clock::time_point t) const { in allTimedOut()
189 std::chrono::steady_clock::time_point Votes::voteTimeout(int voteId) const { in voteTimeout()
193 return std::chrono::steady_clock::time_point{}; in voteTimeout()
200 return std::chrono::steady_clock::time_point{}; in voteTimeout()
DPowerSessionManager.h71 std::chrono::steady_clock::time_point startTime,
74 std::chrono::steady_clock::time_point startTime,
110 std::chrono::steady_clock::time_point timeStamp;
118 void applyUclampLocked(int64_t sessionId, std::chrono::steady_clock::time_point timePoint)
121 void applyGpuVotesLocked(int64_t sessionId, std::chrono::steady_clock::time_point timePoint)
124 void applyCpuAndGpuVotes(int64_t sessionId, std::chrono::steady_clock::time_point timePoint);
DBackgroundWorker.cpp80 std::chrono::steady_clock::time_point deadline) { in schedule()
92 std::chrono::steady_clock::time_point deadline = in loop()
93 std::chrono::steady_clock::time_point::max(); in loop()
108 deadline = std::chrono::steady_clock::time_point::max(); in loop()
DSessionTaskMap.cpp50 std::chrono::steady_clock::time_point startTime, in addVote()
62 std::chrono::steady_clock::time_point startTime, in addGpuVote()
80 void SessionTaskMap::getTaskVoteRange(pid_t taskId, std::chrono::steady_clock::time_point timeNow, in getTaskVoteRange()
106 std::chrono::steady_clock::time_point time_point) const { in getSessionsGpuCapacity()
110 session.val->votes->getGpuCapacityRequest(time_point).value_or(Cycles(0))); in getSessionsGpuCapacity()
138 bool SessionTaskMap::isAnyAppSessionActive(std::chrono::steady_clock::time_point timePoint) const { in isAnyAppSessionActive()
DBackgroundWorker.h54 std::chrono::steady_clock::time_point deadline);
67 Package(std::chrono::steady_clock::time_point pDeadline, int64_t pTemplateQueueWorkerId, in Package()
72 std::chrono::steady_clock::time_point deadline;
107 std::chrono::steady_clock::time_point t = std::chrono::steady_clock::now()) {
DPowerHintSession.h46 using std::chrono::time_point;
94 time_point<steady_clock> mLastUpdatedTime GUARDED_BY(mPowerHintSessionLock);
DSessionValueEntry.h43 std::chrono::steady_clock::time_point lastUpdatedTime;
/hardware/google/aemu/base/include/aemu/base/testing/
DTestClock.h28 using time_point = std::chrono::time_point<TestClock>; variable
31 static time_point now() { return time_point(duration(getInternalTime())); } in now()
/hardware/google/pixel/thermal/utils/
Dpower_files.h44 boot_clock::time_point last_update_time;
51 boot_clock::time_point prev_log_time;
68 void logPowerStatus(const boot_clock::time_point &now);
70 const boot_clock::time_point &GetPrevPowerLogTime() const { in GetPrevPowerLogTime()
Dthermal_stats_helper.h45 using SystemTimePoint = std::chrono::time_point<std::chrono::system_clock>;
58 boot_clock::time_point cur_state_start_time;
59 boot_clock::time_point last_stats_report_time = boot_clock::time_point::min();
114 boot_clock::time_point start_time;
165 boot_clock::time_point last_total_stats_report_time = boot_clock::time_point::min();
/hardware/google/pixel/perfstatsd/include/
Dperfstats_buffer.h53 std::chrono::system_clock::time_point getTime() const { return mTime; } in getTime()
55 void setTime(std::chrono::system_clock::time_point &time) { mTime = time; } in setTime()
59 std::chrono::system_clock::time_point mTime;
Dio_usage.h35 std::chrono::system_clock::time_point mCheckTime;
110 std::chrono::system_clock::time_point mStart;
133 std::chrono::system_clock::time_point mLast;
134 std::chrono::system_clock::time_point mNow;
Dcpu_usage.h59 std::chrono::system_clock::time_point mLast;
70 void getOverallUsage(std::chrono::system_clock::time_point &, std::string *);
Dstatstype.h47 void append(std::chrono::system_clock::time_point &time, std::string &content) { in append()
54 std::chrono::system_clock::time_point now = std::chrono::system_clock::now(); in append()
/hardware/google/pixel/usb/include/pixelusb/
DCommonUtils.h77 void BuildVendorUsbDataSessionEvent(bool is_host, boot_clock::time_point currentTime,
78 boot_clock::time_point startTime,
80 std::vector<boot_clock::time_point> *timestamps,
/hardware/interfaces/tv/tuner/aidl/default/
DTimer.h15 time_point<steady_clock> start_time;
16 time_point<steady_clock> stop_time;
/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator_data.h91 last_update_time = boot_clock::time_point::min(); in VtEstimatorTFLiteData()
92 prev_sample_time = boot_clock::time_point::min(); in VtEstimatorTFLiteData()
119 boot_clock::time_point last_update_time;
120 boot_clock::time_point prev_sample_time;
/hardware/google/pixel/pixelstats/include/pixelstats/
DTempResidencyReporter.h47 ::android::base::boot_clock::time_point prevTime =
48 ::android::base::boot_clock::time_point::min();
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DHintManager.h50 start_time(std::chrono::steady_clock::time_point::min()), in HintStatus()
51 end_time(std::chrono::steady_clock::time_point::min()) {} in HintStatus()
52 std::chrono::steady_clock::time_point start_time;
53 std::chrono::steady_clock::time_point end_time;
/hardware/google/pixel/usb/
DCommonUtils.cpp203 void BuildVendorUsbDataSessionEvent(bool is_host, boot_clock::time_point currentTime, in BuildVendorUsbDataSessionEvent()
204 boot_clock::time_point startTime, in BuildVendorUsbDataSessionEvent()
206 std::vector<boot_clock::time_point> *timestamps, in BuildVendorUsbDataSessionEvent()
/hardware/google/pixel/power-libperfmgr/aidl/tests/mocks/
DMockPowerSessionManager.h54 std::chrono::steady_clock::time_point startTime,
59 std::chrono::steady_clock::time_point startTime,
/hardware/interfaces/broadcastradio/common/tests/
DWorkerThread_test.cpp27 using std::chrono::time_point;
41 atomic<time_point<steady_clock>> stop; in TEST()
/hardware/google/gfxstream/guest/mesa/src/c11/impl/
Dthreads_posix.c328 thrd_sleep(const struct timespec *time_point, struct timespec *remaining) in thrd_sleep() argument
330 assert(time_point != NULL); in thrd_sleep()
331 return nanosleep(time_point, remaining); in thrd_sleep()

123