mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-01 12:20:56 +00:00
Add support for ARM counters
Adding support for ARM counters via a third-party lib. The main target platform is Android.
This commit is contained in:
committed by
Baldur Karlsson
parent
6a2415f334
commit
f1bd727dff
@@ -558,11 +558,22 @@ struct AndroidRemoteServer : public RemoteServer
|
||||
{
|
||||
ResetAndroidSettings();
|
||||
|
||||
// enable profiling to measure hardware counters
|
||||
Android::adbExecCommand(m_deviceID, "shell setprop security.perf_harden 0");
|
||||
|
||||
LazilyStartLogcatThread();
|
||||
|
||||
return RemoteServer::OpenCapture(proxyid, filename, opts, progress);
|
||||
}
|
||||
|
||||
virtual void CloseCapture(IReplayController *rend) override
|
||||
{
|
||||
// disable profiling
|
||||
Android::adbExecCommand(m_deviceID, "shell setprop security.perf_harden 1");
|
||||
|
||||
RemoteServer::CloseCapture(rend);
|
||||
}
|
||||
|
||||
virtual rdcstr GetHomeFolder() override { return ""; }
|
||||
virtual rdcarray<PathEntry> ListFolder(const char *path) override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user