diff --git a/tests/time_tests/src/timetests/timetest_infer.cpp b/tests/time_tests/src/timetests/timetest_infer.cpp index 83f47f837e1690..e4870ec500c4be 100644 --- a/tests/time_tests/src/timetests/timetest_infer.cpp +++ b/tests/time_tests/src/timetests/timetest_infer.cpp @@ -3,6 +3,7 @@ // #include +#include #include #include "common_utils.h" @@ -29,6 +30,8 @@ int runPipeline(const std::string &model, const std::string &device) { { SCOPED_TIMER(load_plugin); ie.GetVersions(device); + // enables performance hint for specified device + ie.SetConfig({{CONFIG_KEY(PERFORMANCE_HINT), CONFIG_VALUE(LATENCY)}}, device); } { SCOPED_TIMER(create_exenetwork); diff --git a/tests/time_tests/src/timetests/timetest_infer_cache.cpp b/tests/time_tests/src/timetests/timetest_infer_cache.cpp index f1c657f6aa463f..0b0ee0c28e1c7c 100644 --- a/tests/time_tests/src/timetests/timetest_infer_cache.cpp +++ b/tests/time_tests/src/timetests/timetest_infer_cache.cpp @@ -3,6 +3,7 @@ // #include +#include #include #include "common_utils.h" @@ -31,7 +32,8 @@ int runPipeline(const std::string &model, const std::string &device) { } { SCOPED_TIMER(load_network); - ie.SetConfig({{"CACHE_DIR", "models_cache"}}); + // enables cache + ie.SetConfig({{CONFIG_KEY(CACHE_DIR), "models_cache"}}); exeNetwork = ie.LoadNetwork(model, device); } {