aboutsummaryrefslogtreecommitdiff
path: root/driver_library/include
diff options
context:
space:
mode:
authorDavide Grohmann <davide.grohmann@arm.com>2021-10-19 15:33:23 +0200
committerDavide Grohmann <davide.grohmann@arm.com>2021-10-27 14:25:20 +0200
commite446b42e711e56974d07f242e18129c335966604 (patch)
treedc028d171323ac19909cb3314b6051f05f0f8911 /driver_library/include
parentc90bfab219bff42227047329659b8dabf020953f (diff)
downloadethos-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.hpp2
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();