diff options
author | Davide Grohmann <davide.grohmann@arm.com> | 2021-10-19 15:33:23 +0200 |
---|---|---|
committer | Davide Grohmann <davide.grohmann@arm.com> | 2021-10-27 14:25:20 +0200 |
commit | e446b42e711e56974d07f242e18129c335966604 (patch) | |
tree | dc028d171323ac19909cb3314b6051f05f0f8911 /driver_library/include | |
parent | c90bfab219bff42227047329659b8dabf020953f (diff) | |
download | ethos-u-linux-driver-stack-e446b42e711e56974d07f242e18129c335966604.tar.gz |
Improve granularity of wait call in Inference class
It now accepts a timeout expressed in nanoseconds.
Change-Id: I77fb89c33dc117f846b86494883548ef3241f0ab
Diffstat (limited to 'driver_library/include')
-rw-r--r-- | driver_library/include/ethosu.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_library/include/ethosu.hpp b/driver_library/include/ethosu.hpp index d70ec95..fe3dc83 100644 --- a/driver_library/include/ethosu.hpp +++ b/driver_library/include/ethosu.hpp @@ -214,7 +214,7 @@ public: virtual ~Inference(); - int wait(int timeoutSec = -1); + int wait(int64_t timeoutNanos = -1); const std::vector<uint32_t> getPmuCounters(); uint64_t getCycleCounter(); bool failed(); |