Commit Graph

15 Commits

Author SHA1 Message Date
Nathaniel Nifong
e2617db752 use mskp extension to differentiate multi frame files.
Test: Captured a 1-frame, and multi-frame file

Change-Id: Id8583c163af0ee0a0ac8fe12aee92d2cfce272d1
2019-08-01 11:11:26 -04:00
Nathaniel Nifong
d2e49a29bb Introduce multi-frame SKP capturing in SkiaPipeline
Capture script usage is the same as before, but all frames are combined
into a single file which shares the images between frames, reducing the
file size and serialization time somewhat. This brings us closer to the
objective of realistic performance measurements, but to do that
correctly, a second format is needed, (skbug.com/9174)

Single frame captures still produce the same format.

Test: The method used for serialization is tested in skia's DM unit
tests, in MultiSkpTest.cpp
Test: Tested manually with the libs/hwui/tests/scripts/skp-capture.sh script
Bug: skbug.com/9210
Change-Id: I69da8d191640ebb444991f107d60389f1519a9db
2019-07-03 13:53:24 -04:00
John Reck
896804e394 Add a copy of lockClocks.sh from androidx
Test: none
Change-Id: I405b041a2a054a3bb7bb3ed9f449b368330b8d3b
2019-03-13 10:34:02 -07:00
John Reck
4fbbcb7ef7 Add prep_taieye
Test: ran script
Change-Id: I39a859e6eddea9d81241bbbbb931d1ddf4e14c53
2017-11-01 21:44:15 +00:00
Stan Iliev
e9d0012bbf Convert skpCaptureEnabled compile time flag into a property
Convert SkiaPipeline::skpCaptureEnabled into a system property.
Add ability to capture drawing in layers. Add ability to capture
animations/sequence of frames. Fix crash when recording a
TextureView.

Test: Ran capture script.
Change-Id: I463eecf6ec90a601a6cc172ad1901bd4bcc86ac8
2017-10-20 17:49:12 -04:00
Stan Iliev
2ccaec63ff Create helper script to parse systrace files
Create a script that can parse systrace files and calculates
metrics. The example metrics are average DrawFrame and average
time to record a View.

Test: ran the script and compared outputs with numbers visible,
when systrace file is opened in a browser.

Change-Id: If37322e7838e177efb3e2e4a00cb6e97755aa453
2017-04-20 10:08:11 -04:00
John Reck
4c80f87820 Merge "HWUI: prepare script for marlin & sailfish Test: this is a bench infrastucture" 2016-12-15 23:37:22 +00:00
sergeyv
3f6e8380c1 HWUI: prepare script for ryu
Test: cpu adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
Test: gpu adb shell cat /sys/devices/57000000.gpu/pstate

Change-Id: I6a932f534b37058b14dccce349897679e1617f9f
2016-09-21 13:03:10 -07:00
sergeyv
efc9cc611a HWUI: prepare script for marlin & sailfish
Test: this is a bench infrastucture

Change-Id: If058973d2c8b110109d424f33c3837e9a6a95e1d
2016-09-19 11:00:24 -07:00
sergeyv
a5c73e3839 HWUI: fix prep_buller, so it locks powerlevels for gpu
bug:31501517
Change-Id: I4c2006b66f6cb0cf2e3a94966651652c1d3d287d
2016-09-16 15:12:02 -07:00
sergeyv
65c7566490 HWUI: prepare script for fugu
Change-Id: I562c51258084e44ed9b53431050dfcde4f293720
2016-09-02 20:01:30 +00:00
John Reck
65d978b407 Script cleanup
Fix bullhead locking
Split out locking from stopping system
Normalize ;

Change-Id: I0577f72c514d6add96920529c3bfe29e0917917e
2016-06-21 15:27:56 -07:00
John Reck
f070a3f2f4 Add lock-clocks script for bullhead/angler
Change-Id: I572a8603368425066c25a4096d09374b177a1be5
2016-05-26 09:48:50 -07:00
Chris Craik
dfc07dedf7 Fix prep_volantis.sh freq printing
Change-Id: I05e7e73423ae6ae7baf6f96924ed0f8cb9ad5488
2016-03-17 10:57:52 -07:00
John Reck
682573c84b Add some options to macrobench
Change-Id: If8d5f5d3ace050577986a554182b2b66fd2257e1
2015-12-16 16:40:02 -08:00