| Flutter iOS Embedder |

Public Member Functions | Public Attributes | List of all members
FLUTTER_ASSERT_ARC::MachThreads Class Reference

## Public Member Functions
| MachThreads ()=default
| ~MachThreads ()

## Public Attributes
thread_array_t | threads = NULL
mach_msg_type_number_t | thread_count = 0

## Detailed Description

Definition at line 19 of file profiler_metrics_ios.mm.

## Constructor & Destructor Documentation

## ◆ MachThreads()

FLUTTER_ASSERT_ARC::MachThreads::MachThreads | ( |  | ) |
| default

## ◆ ~MachThreads()

FLUTTER_ASSERT_ARC::MachThreads::~MachThreads | ( |  | ) |
| inline

Definition at line 26 of file profiler_metrics_ios.mm.

26 {
27 [[maybe_unused]] kern_return_t kernel_return_code = vm_deallocate(
28 mach_task_self(), reinterpret_cast<vm_offset_t>(threads), thread_count * sizeof(thread_t));
29 FML_DCHECK(kernel_return_code == KERN_SUCCESS) << "Failed to deallocate thread infos.";
30 }

## Member Data Documentation

## ◆ thread_count

mach_msg_type_number_t FLUTTER_ASSERT_ARC::MachThreads::thread_count = 0

Definition at line 22 of file profiler_metrics_ios.mm.

## ◆ threads

thread_array_t FLUTTER_ASSERT_ARC::MachThreads::threads = NULL

Definition at line 21 of file profiler_metrics_ios.mm.

The documentation for this class was generated from the following file:

- shell/platform/darwin/ios/framework/Source/profiler_metrics_ios.mm

FLUTTER_ASSERT_ARC::MachThreads::threads
thread_array_t threads
Definition: profiler_metrics_ios.mm:21
FLUTTER_ASSERT_ARC::MachThreads::thread_count
mach_msg_type_number_t thread_count
Definition: profiler_metrics_ios.mm:22