Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestIntrospectionControl.cpp66 constexpr Timing kBadTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
67 constexpr Timing kGoodUnfencedTiming = {.timeOnDevice = 123, .timeInDriver = 456};
68 constexpr Timing kGoodFencedTiming = {.timeOnDevice = 23, .timeInDriver = 56};
261 uint64_t timeOnHardware, timeInDriver; in TEST_F() local
266 &timeInDriver), in TEST_F()
268 if (timeOnHardware != UINT64_MAX && timeInDriver != UINT64_MAX) { in TEST_F()
269 EXPECT_LE(timeOnHardware, timeInDriver); in TEST_F()
397 result.first.timeInDriver = hasBit(s, Success::PASS_UNFENCED_DRIVER_BIT) in getExpectedTiming()
398 ? kGoodUnfencedTiming.timeInDriver in getExpectedTiming()
404 result.second.timeInDriver = hasBit(s, Success::PASS_FENCED_DRIVER_BIT) in getExpectedTiming()
[all …]
DTestCompilationCaching.cpp37 const Timing kBadTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
DTestExecution.cpp64 const Timing kBadTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
DTestPartitioning.cpp171 constexpr Timing kBadTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
DTestVersionedInterfaces.cpp51 .timeInDriver = std::numeric_limits<uint64_t>::max()};
/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp64 static const Timing kNoTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
495 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in asyncExecute()
619 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in executeSynchronouslyBase()
732 Timing timingSinceLaunch = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX}; in executeFenced()
733 Timing timingAfterFence = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX}; in executeFenced()
738 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in executeFenced()
741 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStartAfterFence))}; in executeFenced()
824 .timeInDriver = uint64_t(microsecondsDuration(driverEnd, driverStart))}; in execute()
/frameworks/ml/nn/runtime/
DCallbacks.cpp31 .timeInDriver = std::numeric_limits<uint64_t>::max()};
DExecutionBuilder.cpp49 const Timing kNoTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
347 microDuration = timingLaunched.timeInDriver; in getDuration()
353 microDuration = timingFenced.timeInDriver; in getDuration()
DManager.cpp52 const Timing kNoTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};
DVersionedInterfaces.cpp109 const Timing kNoTiming = {.timeOnDevice = UINT64_MAX, .timeInDriver = UINT64_MAX};