diff options
Diffstat (limited to 'include/armnn')
-rw-r--r-- | include/armnn/IRuntime.hpp | 2 | ||||
-rw-r--r-- | include/armnn/Types.hpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp index 8003fd9514..08db22e4bb 100644 --- a/include/armnn/IRuntime.hpp +++ b/include/armnn/IRuntime.hpp @@ -64,7 +64,7 @@ public: , m_OutgoingCaptureFile("") , m_IncomingCaptureFile("") , m_FileOnly(false) - , m_CapturePeriod(150u) + , m_CapturePeriod(LOWEST_CAPTURE_PERIOD) {} bool m_EnableProfiling; diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp index 3d3ab65c4a..94f45302c7 100644 --- a/include/armnn/Types.hpp +++ b/include/armnn/Types.hpp @@ -16,6 +16,9 @@ namespace armnn constexpr unsigned int MaxNumOfTensorDimensions = 5U; +// The lowest performance data capture interval we support is 10 miliseconds. +constexpr unsigned int LOWEST_CAPTURE_PERIOD = 10000u; + /// @enum Status enumeration /// @var Status::Successful /// @var Status::Failure |