class Resource

Defined at line 250 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/cpp/natural_types.h

Public Methods

void Resource (Resource && other)
Resource & operator= (Resource && other)
void Resource (const Resource & other)
Resource & operator= (const Resource & other)
bool operator== (const Resource & other)
bool operator!= (const Resource & other)
bool IsUnknown ()
::fuchsia_memory_attribution::Resource::Tag Which ()
Resource WithKernelObject (uint64_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> kernel_object ()
::fidl::internal::UnionMemberView<1, Storage_> kernel_object ()
Resource & kernel_object (uint64_t value)

Identifies a kernel object whose memory is being attributed.

Refers to all memory held by VMOs reachable from the object

(currently a Job, Process or VMO).

Resource WithProcessMapped (::fuchsia_memory_attribution::ProcessMapped val)
const ::fidl::internal::UnionMemberView<2, Storage_> process_mapped ()
::fidl::internal::UnionMemberView<2, Storage_> process_mapped ()
Resource & process_mapped (::fuchsia_memory_attribution::ProcessMapped value)

The entire memory of any VMO will be attributed if its mapping within the

specified process overlaps with the defined virtual address range.

void Resource (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kKernelObject 1
kProcessMapped 2
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

Defined at line 258 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits