summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/Android/PlatformAndroid.h
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-10-20 10:33:17 +0000
committerPavel Labath <labath@google.com>2015-10-20 10:33:17 +0000
commitf29914883de362f0f7c01b83769938bec014bbe1 (patch)
tree8c80fd2f2ed1509114d89466462e66c820c95a74 /lldb/source/Plugins/Platform/Android/PlatformAndroid.h
parenta010cfa59274e6a9dce6ecc810cc10ca1b2b29bf (diff)
downloadbcm5719-llvm-f29914883de362f0f7c01b83769938bec014bbe1.tar.gz
bcm5719-llvm-f29914883de362f0f7c01b83769938bec014bbe1.zip
Increase default memory cache line size for android
Summary: ADB packets have a maximum size of 4k. This means the size of memory reads does not affect speed too much (as long as it fits in one packet). Therefore, I am increasing the default memory read size for android to 2k. This value is used only if the user has not modified the default memory-cache-line-size setting. Reviewers: clayborg, tberghammer Subscribers: tberghammer, danalbert, srhines, lldb-commits Differential Revision: http://reviews.llvm.org/D13812 llvm-svn: 250814
Diffstat (limited to 'lldb/source/Plugins/Platform/Android/PlatformAndroid.h')
-rw-r--r--lldb/source/Plugins/Platform/Android/PlatformAndroid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/Android/PlatformAndroid.h b/lldb/source/Plugins/Platform/Android/PlatformAndroid.h
index abe43686d1c..dfca4f022a6 100644
--- a/lldb/source/Plugins/Platform/Android/PlatformAndroid.h
+++ b/lldb/source/Plugins/Platform/Android/PlatformAndroid.h
@@ -83,6 +83,9 @@ namespace platform_android {
Error
DisconnectRemote () override;
+ uint32_t
+ GetDefaultMemoryCacheLineSize() override;
+
protected:
const char *
GetCacheHostname () override;
OpenPOWER on IntegriCloud