Home
last modified time | relevance | path

Searched refs:TimePoint (Results 1 – 25 of 29) sorted by relevance

12

/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
H A DRecurrentTimer.h39 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 DVsyncModulator.h86 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 DCCodec.h102 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 DIncrementalService.h284 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 DServiceWrappers.cpp314 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 DServiceWrappers.h41 using TimePoint = std::chrono::time_point<Clock>; variable
179 virtual TimePoint now() const = 0;
/aosp12/packages/modules/NeuralNetworks/driver/sample/
H A DSampleDriver.cpp52 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 DCanonicalPreparedModel.cpp142 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 DFakeValueGenerator.h43 using TimePoint = std::chrono::time_point<Clock, Nanos>; variable
H A DLinearFakeValueGenerator.cpp68 TimePoint eventTime = Clock::now() + mGenCfg.interval; in nextEvent()
H A DGeneratorHub.cpp84 TimePoint eventTime(Nanos(curEvent.val.timestamp)); in run()
H A DJsonFakeValueGenerator.cpp72 TimePoint eventTime = Clock::now(); in nextEvent()
/aosp12/packages/modules/NeuralNetworks/common/include/
H A DLegacyUtils.h105 TimePoint makeDeadline(Duration duration);
107 inline TimePoint makeDeadline(uint64_t duration) { in makeDeadline()
H A DCpuExecutor.h158 void setDeadline(const TimePoint& deadline) { mDeadline = deadline; } in setDeadline()
/aosp12/packages/modules/NeuralNetworks/driver/sample_aidl/
H A DSampleDriver.cpp60 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 DVsyncModulatorTest.cpp49 static VsyncModulator::TimePoint Now() { in Now()
50 static VsyncModulator::TimePoint now; in Now()
/aosp12/packages/modules/adb/client/
H A Dincremental_server.cpp249 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 Dadb_install.cpp303 template <class TimePoint>
304 static int ms_between(TimePoint start, TimePoint end) { in ms_between()
/aosp12/packages/modules/NeuralNetworks/common/include/nnapi/
H A DTypes.h961 using TimePoint = std::chrono::time_point<Clock, Duration>; variable
962 using OptionalTimePoint = std::optional<TimePoint>;
H A DTypeUtils.h132 std::ostream& operator<<(std::ostream& os, const TimePoint& timePoint);
/aosp12/hardware/interfaces/neuralnetworks/1.3/utils/src/
H A DConversions.cpp271 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 DTypes.t230 using TimePoint = std::chrono::time_point<Clock, Duration>;
231 using OptionalTimePoint = std::optional<TimePoint>;
/aosp12/frameworks/native/services/surfaceflinger/tests/fakehwc/
H A DFakeComposerClient.cpp50 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 DCCodec.cpp2174 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 DExecutionPlan.h547 TimePoint startTime;

12