Home
last modified time | relevance | path

Searched refs:timeInDriver (Results 1 – 11 of 11) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DTestIntrospectionControl.cpp70 constexpr V1_2::Timing kBadTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
71 constexpr V1_2::Timing kGoodUnfencedTiming = {.timeOnDevice = 123, .timeInDriver = 456};
72 constexpr V1_2::Timing kGoodFencedTiming = {.timeOnDevice = 23, .timeInDriver = 56};
267 uint64_t timeOnHardware, timeInDriver; in TEST_F() local
272 &timeInDriver), in TEST_F()
274 if (timeOnHardware != UINT64_MAX && timeInDriver != UINT64_MAX) { in TEST_F()
275 EXPECT_LE(timeOnHardware, timeInDriver); in TEST_F()
403 result.first.timeInDriver = hasBit(s, Success::PASS_UNFENCED_DRIVER_BIT) in getExpectedTiming()
404 ? kGoodUnfencedTiming.timeInDriver in getExpectedTiming()
410 result.second.timeInDriver = hasBit(s, Success::PASS_FENCED_DRIVER_BIT) in getExpectedTiming()
[all …]
DTestCompilationCaching.cpp39 const V1_2::Timing kBadTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
DTestExecution.cpp71 const V1_2::Timing kBadTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp182 timing = {.timeOnDevice = deviceEnd - deviceStart, .timeInDriver = driverEnd - driverStart}; in execute()
273 .timeInDriver = driverEnd - driverStart}; in executeFenced()
275 .timeInDriver = driverEnd - driverStartAfterFence}; in executeFenced()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriver.cpp59 static const V1_2::Timing kNoTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
496 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in asyncExecute()
627 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in executeSynchronouslyBase()
743 V1_2::Timing timingSinceLaunch = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX}; in executeFenced()
744 V1_2::Timing timingAfterFence = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX}; in executeFenced()
749 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in executeFenced()
752 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStartAfterFence))}; in executeFenced()
837 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in execute()
DSampleDriverFloatXNNPACK.cpp57 static const V1_2::Timing kNoTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp510 << ", .timeInDriver=" << timing.timeInDriver << "}"; in operator <<()
791 return a.timeOnDevice == b.timeOnDevice && a.timeInDriver == b.timeInDriver; in operator ==()
DValidation.cpp246 if (timing.timeInDriver.has_value() && timing.timeOnDevice.has_value()) { in validateTiming()
255 << ") must not exceed Timing::timeInDriver (" << timing.timeInDriver.value() << ")"; in validateTiming()
258 NN_RET_CHECK(timing.timeOnDevice.value() <= timing.timeInDriver.value()) << lazyMessage(); in validateTiming()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h1001 OptionalDuration timeInDriver; member
/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.cpp393 return timingLaunched.timeInDriver; in getDuration()
397 return timingFenced.timeInDriver; in getDuration()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec7013 %{OptionalDuration} timeInDriver;