summaryrefslogtreecommitdiffstats
path: root/runtime/utils.h
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-09-12 22:18:30 -0700
committerBrian Carlstrom <bdc@google.com>2013-09-23 22:43:29 -0700
commit2921201dce37ba40c55b89c0deca3c34bf64168e (patch)
tree2222b4bf7a53864c1bf514bb68e0053a966da3e5 /runtime/utils.h
parentbb0140e051e62ca0b51b0870c2386ae3110b0556 (diff)
downloadart-2921201dce37ba40c55b89c0deca3c34bf64168e.zip
art-2921201dce37ba40c55b89c0deca3c34bf64168e.tar.gz
art-2921201dce37ba40c55b89c0deca3c34bf64168e.tar.bz2
Remove some non-const references in utils
Change-Id: Ib2d3c39fadb6a750c68c37b0aa53daab155a65a3
Diffstat (limited to 'runtime/utils.h')
-rw-r--r--runtime/utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/utils.h b/runtime/utils.h
index c506fba..34e9459 100644
--- a/runtime/utils.h
+++ b/runtime/utils.h
@@ -323,10 +323,10 @@ pid_t GetTid();
std::string GetThreadName(pid_t tid);
// Returns details of the given thread's stack.
-void GetThreadStack(pthread_t thread, void*& stack_base, size_t& stack_size);
+void GetThreadStack(pthread_t thread, void** stack_base, size_t* stack_size);
// Reads data from "/proc/self/task/${tid}/stat".
-void GetTaskStats(pid_t tid, char& state, int& utime, int& stime, int& task_cpu);
+void GetTaskStats(pid_t tid, char* state, int* utime, int* stime, int* task_cpu);
// Returns the name of the scheduler group for the given thread the current process, or the empty string.
std::string GetSchedulerGroupName(pid_t tid);