IVGCVSW-2543 Add timing for ExecuteNetwork inference
authorJames Conroy <james.conroy@arm.com>
Thu, 11 Apr 2019 09:23:58 +0000 (10:23 +0100)
committerJames Conroy <james.conroy@arm.com>
Thu, 11 Apr 2019 15:32:39 +0000 (16:32 +0100)
commit7b4886faccb52af9afe7fdeffcbae87e7fbc1484
tree5aa8891568bd75b48676ef555f6bece585043a45
parent774f6f1d7c862fc2b8e1783abef9a0bccdaf9d0c
IVGCVSW-2543 Add timing for ExecuteNetwork inference

  * Adds a new command line option 'threshold-time'
    to ExecuteNetwork, the maximum allowed time for
    inference in EnqueueWorkload.
  * ExecuteNetwork now outputs inference time
    elapsed and (if supplied) threshold time.
  * If actual elapsed inference time is greater
    than supplied threshold time, fail the test.

Change-Id: If441b49a29cf5450687c07500c9046a80ece56fc
Signed-off-by: James Conroy <james.conroy@arm.com>
tests/ExecuteNetwork/ExecuteNetwork.cpp
tests/InferenceModel.hpp