Skip to content

Instantly share code, notes, and snippets.

@tiagovignatti
Created July 1, 2015 14:13
Show Gist options
  • Save tiagovignatti/9a7c0cfa0523c04adc43 to your computer and use it in GitHub Desktop.
Save tiagovignatti/9a7c0cfa0523c04adc43 to your computer and use it in GitHub Desktop.
drm-intel vs shared-memory
chronos@localhost /tmp/chrome/src/out_gbm/Release $ ./content_perftests --gtest_filter=GpuMemoryBufferPerf* --ozone-platform=gbm --ozone-use-surfaceless --ozone-use-intel-drm
IMPORTANT DEBUGGING NOTE: batches of tests are run inside their
own process. For debugging a test inside a debugger, use the
--gtest_filter=<your_test_name> flag along with
--single-process-tests.
Using sharding settings from environment. This is shard 0/1
Using 1 parallel jobs.
[9185:9185:0701/071244:1174465331146:ERROR:gpu_info_collector_ozone.cc(11)] Not implemented reached in std::string gpu::CollectDriverVersionNVidia()
Note: Google Test filter = GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/0:GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/1
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest
[ RUN ] GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/0
*RESULT time_to_execute_map ozone_native: map = 13 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 0 us
*RESULT time_to_execute_map ozone_native: map = 0 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 0 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 0 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 2 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 0 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 2 us
*RESULT time_to_execute_map ozone_native: map = 2 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 0 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 2 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 0 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
*RESULT time_to_execute_map ozone_native: map = 1 us
[ OK ] GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/0 (2 ms)
[ RUN ] GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/1
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 1 us
*RESULT time_to_execute_map shared_memory: map = 0 us
*RESULT time_to_execute_map shared_memory: map = 0 us
[ OK ] GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/1 (1 ms)
[----------] 2 tests from GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest (6 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (6 ms total)
[ PASSED ] 2 tests.
[1/2] GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/0 (2 ms)
[2/2] GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/1 (1 ms)
SUCCESS: all tests passed.
Tests took 0 seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment