diff options
author | Lev Proleev <levp@google.com> | 2021-04-14 20:54:27 +0100 |
---|---|---|
committer | Lev Proleev <levp@google.com> | 2021-04-19 15:43:32 +0000 |
commit | 300b3245aed811ec6ac02b56e20a4ca09c3c3fda (patch) | |
tree | a98a2520c5d72bf523b8aee6e7cf427fcc3bb4a9 /neuralnetworks/aidl/utils/test/PreparedModelTest.cpp | |
parent | 48ac0d6e79bf0ac627a92da8f6c29b4ea84681d1 (diff) |
Add units to hal times and durations names
The change adds "Ns" suffix to timeOnDevice, timeInDriver,
loopTimeoutDuration, deadline and duration.
Fix: 183118329
Test: mm
Change-Id: Id1f9ee4b8e41873c97690bb19a5e84572dd9ccf1
Diffstat (limited to 'neuralnetworks/aidl/utils/test/PreparedModelTest.cpp')
-rw-r--r-- | neuralnetworks/aidl/utils/test/PreparedModelTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/neuralnetworks/aidl/utils/test/PreparedModelTest.cpp b/neuralnetworks/aidl/utils/test/PreparedModelTest.cpp index 630a460cf5..ff98a7d947 100644 --- a/neuralnetworks/aidl/utils/test/PreparedModelTest.cpp +++ b/neuralnetworks/aidl/utils/test/PreparedModelTest.cpp @@ -39,7 +39,7 @@ using ::testing::InvokeWithoutArgs; using ::testing::SetArgPointee; const std::shared_ptr<IPreparedModel> kInvalidPreparedModel; -constexpr auto kNoTiming = Timing{.timeOnDevice = -1, .timeInDriver = -1}; +constexpr auto kNoTiming = Timing{.timeOnDeviceNs = -1, .timeInDriverNs = -1}; constexpr auto makeStatusOk = [] { return ndk::ScopedAStatus::ok(); }; |