#include <mach/mach.h>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <string>
#include <system_error>
#include <vector>
#include "mysql/components/library_mysys/system_info.h"
Go to the source code of this file.
|
| Thread_state | mysql::system_info::internal::macos_thread_state (int run_state) |
| | Map a native Mach thread state to the portable thread state. More...
|
| |
| bool | mysql::system_info::internal::macos_time_value_to_milliseconds (int64_t seconds, int64_t microseconds, std::chrono::milliseconds &milliseconds) |
| | Convert a Mach time_value_t value to whole milliseconds. More...
|
| |
| std::string | mysql::system_info::internal::copy_bounded_macos_thread_name (const char *name, size_t size) |
| | Copy a thread name from a fixed size native buffer. More...
|
| |
| std::error_code | mysql::system_info::internal::map_macos_thread_samples (std::vector< macOS_thread_sample > samples, std::error_code disappearance_error, Thread_inventory &inventory, Thread_cpu_snapshot &cpu) |
| | Build matching thread inventory and CPU snapshots from native samples. More...
|
| |
| void | mysql::system_info::internal::complete_macos_thread_collection (macOS_thread_resources &resources, std::error_code collection_error, Thread_inventory inventory, Thread_cpu_snapshot cpu, Process_threads_snapshot &result) |
| | Release native thread resources before publishing the collected snapshots. More...
|
| |