/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
H A D | RecurrentTimer.h | 39 using TimePoint = std::chrono::time_point<Clock, Nanos>; variable 57 TimePoint now = Clock::now(); in registerRecurrentEvent() 60 TimePoint absoluteTime = now - Nanos(now.time_since_epoch().count() % interval.count()); in registerRecurrentEvent() 83 TimePoint absoluteTime; // Absolute time of the next event. 85 void updateNextEventTime(TimePoint now) { in updateNextEventTime() 95 static constexpr auto kInvalidTime = TimePoint(Nanos::max()); in loop()
|
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/ |
H A D | VsyncModulator.h | 86 using TimePoint = Clock::time_point; variable 87 using Now = TimePoint (*)(); 138 std::atomic<TimePoint> mEarlyTransactionStartTime = TimePoint(); 139 std::atomic<TimePoint> mLastTransactionCommitTime = TimePoint();
|
/aosp12/frameworks/av/media/codec2/sfplugin/include/media/stagefright/ |
H A D | CCodec.h | 102 typedef std::chrono::steady_clock::time_point TimePoint; typedef 131 const TimePoint &now, 180 NamedTimePoint() : mTimePoint(TimePoint::max()), mName("") {} in NamedTimePoint() 183 const TimePoint &timePoint, in set() 189 inline TimePoint get() const { return mTimePoint; } in get() 192 TimePoint mTimePoint;
|
/aosp12/frameworks/base/services/incremental/ |
H A D | IncrementalService.h | 284 Milliseconds elapsedMsSinceKernelTs(TimePoint now, BootClockTsUs kernelTsUs); 307 TimePoint mCurrentStatusTs = {}; 309 TimePoint mTargetStatusTs = {}; 311 TimePoint mPreviousBindTs = {}; 317 TimePoint userTs; 319 } mHealthBase = {TimePoint::max(), kMaxBootClockTsUs}; 351 TimePoint startLoadingTs = {};
|
H A D | ServiceWrappers.cpp | 314 static constexpr TimePoint kInfinityTs{Clock::duration::max()}; in runTimers() 317 const TimePoint nextJobTs = mJobs.empty() ? kInfinityTs : mJobs.begin()->when; in runTimers() 342 TimePoint when; 377 TimePoint now() const final { return Clock::now(); } in now()
|
H A D | ServiceWrappers.h | 41 using TimePoint = std::chrono::time_point<Clock>; variable 179 virtual TimePoint now() const = 0;
|
/aosp12/packages/modules/NeuralNetworks/driver/sample/ |
H A D | SampleDriver.cpp | 52 uint64_t microsecondsDuration(TimePoint end, TimePoint start) { in microsecondsDuration() 460 void asyncExecute(const V1_3::Request& request, V1_2::MeasureTiming measure, TimePoint driverStart, in asyncExecute() 486 TimePoint driverEnd, deviceStart, deviceEnd; in asyncExecute() 526 TimePoint driverStart; in executeBase() 590 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronouslyBase() 674 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() 710 TimePoint driverStartAfterFence; in executeFenced() 801 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in execute()
|
H A D | CanonicalPreparedModel.cpp | 142 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in execute() 202 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() 231 TimePoint driverStartAfterFence; in executeFenced()
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
H A D | FakeValueGenerator.h | 43 using TimePoint = std::chrono::time_point<Clock, Nanos>; variable
|
H A D | LinearFakeValueGenerator.cpp | 68 TimePoint eventTime = Clock::now() + mGenCfg.interval; in nextEvent()
|
H A D | GeneratorHub.cpp | 84 TimePoint eventTime(Nanos(curEvent.val.timestamp)); in run()
|
H A D | JsonFakeValueGenerator.cpp | 72 TimePoint eventTime = Clock::now(); in nextEvent()
|
/aosp12/packages/modules/NeuralNetworks/common/include/ |
H A D | LegacyUtils.h | 105 TimePoint makeDeadline(Duration duration); 107 inline TimePoint makeDeadline(uint64_t duration) { in makeDeadline()
|
H A D | CpuExecutor.h | 158 void setDeadline(const TimePoint& deadline) { mDeadline = deadline; } in setDeadline()
|
/aosp12/packages/modules/NeuralNetworks/driver/sample_aidl/ |
H A D | SampleDriver.cpp | 60 int64_t nanosecondsDuration(TimePoint end, TimePoint start) { in nanosecondsDuration() 394 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeSynchronously() 483 TimePoint driverStart, driverEnd, deviceStart, deviceEnd; in executeFenced() 536 TimePoint driverStartAfterFence; in executeFenced()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | VsyncModulatorTest.cpp | 49 static VsyncModulator::TimePoint Now() { in Now() 50 static VsyncModulator::TimePoint now; in Now()
|
/aosp12/packages/modules/adb/client/ |
H A D | incremental_server.cpp | 249 using TimePoint = decltype(std::chrono::high_resolution_clock::now()); typedef in incremental::IncrementalServer 250 bool ServingComplete(std::optional<TimePoint> startTime, int missesCount, int missesSent); 530 bool IncrementalServer::ServingComplete(std::optional<TimePoint> startTime, int missesCount, in ServingComplete() 557 std::optional<TimePoint> startTime; in Serve()
|
H A D | adb_install.cpp | 303 template <class TimePoint> 304 static int ms_between(TimePoint start, TimePoint end) { in ms_between()
|
/aosp12/packages/modules/NeuralNetworks/common/include/nnapi/ |
H A D | Types.h | 961 using TimePoint = std::chrono::time_point<Clock, Duration>; variable 962 using OptionalTimePoint = std::optional<TimePoint>;
|
H A D | TypeUtils.h | 132 std::ostream& operator<<(std::ostream& os, const TimePoint& timePoint);
|
/aosp12/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
H A D | Conversions.cpp | 271 nn::TimePoint bootTimePoint; in unvalidatedConvert() 273 constexpr auto kMaxTime = nn::TimePoint::max(); in unvalidatedConvert() 280 constexpr auto kZeroTime = nn::TimePoint{}; in unvalidatedConvert() 600 if (bootTimePoint < nn::TimePoint{}) { in unvalidatedConvert()
|
/aosp12/packages/modules/NeuralNetworks/tools/api/ |
H A D | Types.t | 230 using TimePoint = std::chrono::time_point<Clock, Duration>; 231 using OptionalTimePoint = std::optional<TimePoint>;
|
/aosp12/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
H A D | FakeComposerClient.cpp | 50 using TimePoint = std::chrono::time_point<Clock>; typedef 124 TimePoint target = *(mWakeups.begin()); in loop() 146 std::set<TimePoint> mWakeups;
|
/aosp12/frameworks/av/media/codec2/sfplugin/ |
H A D | CCodec.cpp | 2174 TimePoint now = std::chrono::steady_clock::now(); in onMessageReceived() 2351 setDeadline(TimePoint::max(), 0ms, "none"); in onMessageReceived() 2355 const TimePoint &now, in setDeadline() 2420 if (deadline->get() != TimePoint::max()) { in initiateReleaseIfStuck()
|
/aosp12/packages/modules/NeuralNetworks/runtime/ |
H A D | ExecutionPlan.h | 547 TimePoint startTime;
|