mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 14:56:18 +00:00
tests/gem_tiled_swapping: use igt_info logging wrapper
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
parent
16f1506ff6
commit
85b74d5c14
@ -165,12 +165,11 @@ igt_main
|
||||
threads = calloc(num_threads, sizeof(struct thread));
|
||||
igt_assert(threads);
|
||||
|
||||
igt_log(IGT_LOG_INFO,
|
||||
"Using %d 1MiB objects (available RAM: %ld/%ld, swap: %ld)\n",
|
||||
count,
|
||||
(long)intel_get_avail_ram_mb(),
|
||||
(long)intel_get_total_ram_mb(),
|
||||
(long)intel_get_total_swap_mb());
|
||||
igt_info("Using %d 1MiB objects (available RAM: %ld/%ld, swap: %ld)\n",
|
||||
count,
|
||||
(long)intel_get_avail_ram_mb(),
|
||||
(long)intel_get_total_ram_mb(),
|
||||
(long)intel_get_total_swap_mb());
|
||||
intel_require_memory(count, 1024*1024, CHECK_RAM | CHECK_SWAP);
|
||||
|
||||
for (n = 0; n < count; n++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user