compute-runtime/shared/source/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 Add neon intrinsics for aarch64 2022-03-29 18:22:32 +02:00
linux style: configure readability-identifier-naming.FunctionCase 2022-05-17 20:55:56 +02:00
windows Copyright header update 2021-05-17 20:38:19 +02:00
x86_64 Remove unused CPU features 2022-03-30 18:20:08 +02:00
CMakeLists.txt Encode number barriers 2022-04-08 10:32:23 +02:00
api_intercept.h Copyright header update 2021-05-17 20:38:19 +02:00
arrayref.h Cleanup headers 2022-05-18 11:42:06 +02:00
const_stringref.h Ocloc: Support for various variants of acronyms 2022-06-14 22:49:01 +02:00
cpu_info.h Remove unused CPU features 2022-03-30 18:20:08 +02:00
cpuintrinsics.cpp Debug flag to add sfence instruction prior to DirectSubmission dispatch 2022-04-01 15:53:03 +02:00
cpuintrinsics.h Debug flag to add sfence instruction prior to DirectSubmission dispatch 2022-04-01 15:53:03 +02:00
debug_file_reader.cpp Cleanup headers 2022-05-18 11:42:06 +02:00
debug_file_reader.h Cleanup headers 2022-05-18 11:42:06 +02:00
debug_settings_reader.cpp Cleanup headers 2022-05-18 11:42:06 +02:00
debug_settings_reader.h Cleanup headers 2022-05-18 11:42:06 +02:00
debug_settings_reader_creator.cpp Copyright header update 2021-05-17 20:38:19 +02:00
debug_settings_reader_creator.h Cleanup headers 2022-05-18 11:42:06 +02:00
directory.h Find sscanf alternative. 2022-01-21 09:02:48 +01:00
heap_allocator.cpp Copyright header update 2021-05-17 20:38:19 +02:00
heap_allocator.h Cleanup headers 2022-05-18 11:42:06 +02:00
hw_timestamps.h Move AllocationType enum out of GraphicsAllocation class 2022-02-04 17:49:09 +01:00
idlist.h Copyright header update 2021-05-17 20:38:19 +02:00
iflist.h Copyright header update 2021-05-17 20:38:19 +02:00
io_functions.cpp compiler cache to store input into separate file 2021-11-16 17:23:17 +01:00
io_functions.h compiler cache to store input into separate file 2021-11-16 17:23:17 +01:00
logger.cpp Do not copy arguments passed to FileLogger 2022-08-16 14:04:52 +02:00
logger.h Do not copy arguments passed to FileLogger 2022-08-16 14:04:52 +02:00
lookup_array.h refactor(zebin decoder): parsing enums 2022-08-10 23:36:25 +02:00
metrics_library.h move common files to shared/ 2021-09-27 11:10:20 +02:00
numeric.h Rename memory_constants.h to constants.h 2020-04-02 14:19:39 +02:00
perf_counter.h Cleanup includes 2022-07-25 09:58:38 +02:00
perf_profiler.cpp clang-tidy configuration cleanup 2022-05-11 14:02:04 +02:00
perf_profiler.h clang-tidy configuration cleanup 2022-05-11 14:02:04 +02:00
range.h style: configure readability-identifier-naming.FunctionCase 2022-05-17 20:55:56 +02:00
reference_tracked_object.h Simplify ReferenceTrackedObject API 2022-06-27 11:27:08 +02:00
software_tags.cpp Cleanup headers 2022-05-18 11:42:06 +02:00
software_tags.h Cleanup headers 2022-05-18 11:42:06 +02:00
software_tags_manager.cpp clang-tidy configuration cleanup 2022-05-11 14:02:04 +02:00
software_tags_manager.h clang-tidy configuration cleanup 2022-05-11 14:02:04 +02:00
spinlock.h Reorganization directory structure [3/n] 2020-02-23 23:48:28 +01:00
stackvec.h clang-tidy configuration cleanup 2022-05-11 14:02:04 +02:00
tag_allocator.cpp Refactor: use stack vector for root device indices 2022-04-14 14:05:42 +02:00
tag_allocator.h Cleanup includes 2022-07-25 09:58:38 +02:00
tag_allocator.inl Refactor: use stack vector for root device indices 2022-04-14 14:05:42 +02:00
time_measure_wrapper.h Correct formatting 2021-03-16 10:29:41 +01:00
timer_util.h Cleanup headers 2022-05-18 11:42:06 +02:00
wait_util.cpp Parametrize wait operation 2021-03-31 15:12:59 +02:00
wait_util.h Use wait utils while waiting for timestamps 2021-12-02 17:49:05 +01:00