Profile Optimization

24 views
Skip to first unread message

josep.a...@lanaccess.es

unread,
May 15, 2017, 12:29:32 PM5/15/17
to android-ndk

Hi! I am trying to apply profile generated optimization on a Allwinner H3 armv7/1.2GHz but unfortunately I cannot generate inside the device the .gcda files used for the second compilation.


These are the flags used in the Android.mk file

LOCAL_LDFLAGS += -fprofile-generate=/sdcard
LOCAL_CFLAGS += -fprofile-generate=/sdcard


Manifest file includes
android.permission.ACCESS_SUPERUSER


The .gcno files are correctly generated in local application folder.


Also I am using NDK r14b and toolchain version 4.9


Any advice?


Cheers,

Reply all
Reply to author
Forward
0 new messages