Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

mach_task_basic_info

Public Struct
std.c.darwin.mach_task_basic_info
pub const mach_task_basic_info = extern struct

Fields

virtual_size: mach_vm_size_t

Virtual memory size (bytes)

resident_size: mach_vm_size_t

Resident memory size (bytes)

user_time: time_value_t

Total user run time for terminated threads

system_time: time_value_t

Total system run time for terminated threads

policy: policy_t

Default policy for new threads

suspend_count: mach_vm_size_t

Suspend count for task

File

c/darwin.zig:864
864
865
866
867
868
869
870
871
872
873
874
875
876
877
pub const mach_task_basic_info = extern struct {
    /// Virtual memory size (bytes)
    virtual_size: mach_vm_size_t,
    /// Resident memory size (bytes)
    resident_size: mach_vm_size_t,
    /// Total user run time for terminated threads
    user_time: time_value_t,
    /// Total system run time for terminated threads
    system_time: time_value_t,
    /// Default policy for new threads
    policy: policy_t,
    /// Suspend count for task
    suspend_count: mach_vm_size_t,
}