compute-runtime/shared/test/unit_test/utilities
Patryk Wrobel cb23a38aad Do not copy arguments passed to FileLogger
Historically, FileLogger was intended to work with scalar types.
Therefore, its member functions utilized parameter packs, which
copied the arguments. However, some time ago std::strings had
started to be passed to this function. The recursion was performing
multiple copies of the same std::string, which could cause
unneeded memory allocations.

This change:
- replaces copying with const references
- applies std::move() operator if possible
- replaces std::unique_lock with std::lock_guard

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-08-16 14:04:52 +02:00
..
aarch64 use test_files from source location in ults 2022-05-20 14:20:13 +02:00
linux Add neon intrinsics for aarch64 2022-03-29 18:22:32 +02:00
windows Copyright header update 2021-05-17 20:38:19 +02:00
x86_64 use test_files from source location in ults 2022-05-20 14:20:13 +02:00
CMakeLists.txt Move tests to shared 2022-06-13 13:05:46 +02:00
base_object_utils.h style: configure readability-identifier-naming.FunctionCase 2022-05-17 20:55:56 +02:00
const_stringref_tests.cpp Copyright header update 2021-05-17 20:38:19 +02:00
containers_tests.cpp clang-tidy configuration cleanup 2022-05-11 14:02:04 +02:00
containers_tests_helpers.h Count parameter pack's elements via sizeof...(Ts) 2022-08-16 09:19:51 +02:00
cpuintrinsics.cpp Debug flag to add sfence instruction prior to DirectSubmission dispatch 2022-04-01 15:53:03 +02:00
cpuintrinsics_tests.cpp Debug flag to add sfence instruction prior to DirectSubmission dispatch 2022-04-01 15:53:03 +02:00
debug_file_reader_tests.cpp use test_files from source location in ults 2022-05-20 14:20:13 +02:00
debug_file_reader_tests.inl use test_files from source location in ults 2022-05-20 14:20:13 +02:00
debug_settings_reader_tests.cpp Move debug setting and file reader tests to shared 2022-05-18 18:54:02 +02:00
destructor_counted.h remove unused includes 2022-06-27 22:59:18 +02:00
heap_allocator_tests.cpp Use full path to include test.h 2/n 2021-12-15 13:09:50 +01:00
io_functions_tests.cpp Use full path to include test.h 2/n 2021-12-15 13:09:50 +01:00
logger_tests.cpp Do not copy arguments passed to FileLogger 2022-08-16 14:04:52 +02:00
logger_tests.h Move logger tests to shared 2022-06-02 18:11:23 +02:00
numeric_tests.cpp Use full path to include test.h 2/n 2021-12-15 13:09:50 +01:00
perf_profiler_tests.cpp Use full path to include test.h 2/n 2021-12-15 13:09:50 +01:00
reference_tracked_object_tests.cpp Simplify ReferenceTrackedObject API 2022-06-27 11:27:08 +02:00
software_tags_manager_tests.cpp Correct method names in device and module fixtures 2022-08-12 10:40:56 +02:00
spinlock_tests.cpp Copyright header update 2021-05-17 20:38:19 +02:00
tag_allocator_tests.cpp Correct shared fixture methods name to meet clang-tidy requirements 2022-08-16 12:52:49 +02:00
timer_util_tests.cpp Use full path to include test.h 2/n 2021-12-15 13:09:50 +01:00
vec_tests.cpp Copyright header update 2021-05-17 20:38:19 +02:00
wait_util_tests.cpp test.h refactor 2022-07-04 18:20:07 +02:00