Searched refs:timeInDriver (Results 1 – 11 of 11) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestIntrospectionControl.cpp | 70 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 …]
|
D | TestCompilationCaching.cpp | 39 const V1_2::Timing kBadTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
|
D | TestExecution.cpp | 71 const V1_2::Timing kBadTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalPreparedModel.cpp | 182 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/ |
D | SampleDriver.cpp | 59 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()
|
D | SampleDriverFloatXNNPACK.cpp | 57 static const V1_2::Timing kNoTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | TypeUtils.cpp | 510 << ", .timeInDriver=" << timing.timeInDriver << "}"; in operator <<() 791 return a.timeOnDevice == b.timeOnDevice && a.timeInDriver == b.timeInDriver; in operator ==()
|
D | Validation.cpp | 246 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/ |
D | Types.h | 1001 OptionalDuration timeInDriver; member
|
/packages/modules/NeuralNetworks/runtime/ |
D | ExecutionBuilder.cpp | 393 return timingLaunched.timeInDriver; in getDuration() 397 return timingFenced.timeInDriver; in getDuration()
|
/packages/modules/NeuralNetworks/tools/api/ |
D | types.spec | 7013 %{OptionalDuration} timeInDriver;
|