diff options
author | Brian Carlstrom <bdc@google.com> | 2013-09-12 22:18:30 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2013-09-23 22:43:29 -0700 |
commit | 2921201dce37ba40c55b89c0deca3c34bf64168e (patch) | |
tree | 2222b4bf7a53864c1bf514bb68e0053a966da3e5 /runtime/utils.h | |
parent | bb0140e051e62ca0b51b0870c2386ae3110b0556 (diff) | |
download | art-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.h | 4 |
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); |