* [Remove APIs] remove ov::any api & Signed-off-by: xuejun <Xuejun.Zhai@intel.com> * [Remove APIs] remove ov::any api Signed-off-by: xuejun <Xuejun.Zhai@intel.com> * [Remove APIs] remove interfaces in ov::any Base* operator->() & const Base* operator->() Signed-off-by: xuejun <Xuejun.Zhai@intel.com> * [Remove APIs] remove ov::any interfaces Base* get() & const Base* get() Signed-off-by: xuejun <Xuejun.Zhai@intel.com> * [Remove APIs] remove ov::any interfaces call(const Any& any) & dynamic_pointer_cast(const ::ov::Any& any) & static_pointer_cast(const ::ov::Any& any) Signed-off-by: xuejun <Xuejun.Zhai@intel.com> * [Remove APIs] fix code format issues in ov::any Signed-off-by: xuejun <Xuejun.Zhai@intel.com> * [Remove APIs] fix review issue Signed-off-by: xuejun <xuejun.zhai@intel.com> * [Remove APIs] clear code Signed-off-by: xuejun <xuejun.zhai@intel.com> * [Remove APIs] fix review issue Signed-off-by: xuejun <xuejun.zhai@intel.com> * [Remove APIs] fix compiler issue Signed-off-by: xuejun <xuejun.zhai@intel.com> * [Remove APIs] fix compiler issue Signed-off-by: xuejun <xuejun.zhai@intel.com> * [Remove APIs] fix compiler issue Signed-off-by: xuejun <xuejun.zhai@intel.com> * Fix variant error Signed-off-by: xuejun <xuejun.zhai@intel.com> --------- Signed-off-by: xuejun <Xuejun.Zhai@intel.com> Signed-off-by: xuejun <xuejun.zhai@intel.com>
Time Tests
This test suite contains pipelines, which are executables. The pipelines measure the time of their execution, both total and partial. A Python runner calls the pipelines and calcuates the average execution time.
Prerequisites
To build the time tests, you need to have OpenVINO™ installed or build from source.
Measure Time
To build and run the tests, open a terminal, set OpenVINO™ environment and run the commands below:
- Build tests:
mkdir build && cd build
cmake .. && cmake --build . --target time_tests -j8
- Install tests:
сmake --install <build_dir> --prefix <install_path>
- Run test:
./scripts/run_timetest.py ../../bin/intel64/Release/timetest_infer -m model.xml -d CPU
- Run several configurations using
pytest:
pytest ./test_runner/test_timetest.py --exe ../../bin/intel64/Release/timetest_infer
# For parse_stat testing:
pytest ./scripts/run_timetest.py