alloc_observe.Producer
Internal implementation documentation
Defined in alloc_observe.
Classifies the origin of an observed allocation event through tags: arena, bump, bufferfirst, fixedbuffer, debug, pool, process, phase, limit, boundary, sys_memory, and custom.
API (12)
Fields and members
Public fields and members.
Source
Source: lib/alloc/observe/src/protocol.zig:23
zig
/// Classifies the origin of an observed allocation event through tags: arena,/// bump, buffer_first, fixed_buffer, debug, pool, process, phase, limit,/// boundary, sys_memory, and custom. Each tag labels the reporting component/// rather than guaranteeing how that component manages memory or whether its/// reported operations cover all process allocations. For instance, an/// allocator tagged as an arena describes its own interface layer rather than/// certifying backing page reclamation or absence of uninstrumented memory/// traffic.pub const Producer = enum(u8) { arena, bump, buffer_first, fixed_buffer, debug, pool, process, phase, limit, boundary, sys_memory, custom,};Source: lib/alloc/observe/src/root.zig:406
zig
/// Classifies the origin of an observed allocation event through tags: arena,/// bump, buffer_first, fixed_buffer, debug, pool, process, phase, limit,/// boundary, sys_memory, and custom. Each tag labels the reporting component/// rather than guaranteeing how that component manages memory or whether its/// reported operations cover all process allocations. For instance, an/// allocator tagged as an arena describes its own interface layer rather than/// certifying backing page reclamation or absence of uninstrumented memory/// traffic.pub const Producer = protocol.Producer;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 12 |
| Version | 26.7.0 |
| Revision | daab053ee433 |