diff options
author | Greg Clayton <gclayton@apple.com> | 2015-03-09 19:45:23 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-03-09 19:45:23 +0000 |
commit | ee2ed52584564a6acec25b8d9dff4653c3e55330 (patch) | |
tree | c437774d11d1cae7057fee5b0c91fc19add6b9c6 /lldb/tools/debugserver/source/MacOSX/MachProcess.h | |
parent | 762ff68a9508c487cd759812b9e80bad6ad49261 (diff) | |
download | bcm5719-llvm-ee2ed52584564a6acec25b8d9dff4653c3e55330.tar.gz bcm5719-llvm-ee2ed52584564a6acec25b8d9dff4653c3e55330.zip |
Fix debugserver warnings on MacOSX.
llvm-svn: 231692
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachProcess.h')
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachProcess.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.h b/lldb/tools/debugserver/source/MacOSX/MachProcess.h index 3cd60917f15..3d007a36e31 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.h +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.h @@ -158,7 +158,7 @@ public: //---------------------------------------------------------------------- void SetEnableAsyncProfiling (bool enable, uint64_t internal_usec, DNBProfileDataScanType scan_type); bool IsProfilingEnabled () { return m_profile_enabled; } - uint64_t ProfileInterval () { return m_profile_interval_usec; } + useconds_t ProfileInterval () { return m_profile_interval_usec; } bool StartProfileThread (); static void * ProfileThread (void *arg); void SignalAsyncProfileData (const char *info); @@ -310,7 +310,7 @@ private: std::string m_stdout_data; bool m_profile_enabled; // A flag to indicate if profiling is enabled - uint64_t m_profile_interval_usec; // If enable, the profiling interval in microseconds + useconds_t m_profile_interval_usec; // If enable, the profiling interval in microseconds DNBProfileDataScanType m_profile_scan_type; // Indicates what needs to be profiled pthread_t m_profile_thread; // Thread ID for the thread that profiles the inferior PThreadMutex m_profile_data_mutex; // Multithreaded protection for profile info data |