Class ecs_pipeline_stats_t
java.lang.Object
com.github.elebras1.flecs.ecs_pipeline_stats_t
struct ecs_pipeline_stats_t {
int8_t canary_;
ecs_vec_t systems;
ecs_vec_t sync_points;
int32_t t;
int32_t system_count;
int32_t active_system_count;
int32_t rebuild_count;
}
-
Method Summary
Modifier and TypeMethodDescriptionstatic intactive_system_count(MemorySegment struct) Getter for field:int32_t active_system_countstatic voidactive_system_count(MemorySegment struct, int fieldValue) Setter for field:int32_t active_system_countstatic final ValueLayout.OfIntLayout for field:int32_t active_system_countstatic final longOffset for field:int32_t active_system_countstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static bytecanary_(MemorySegment struct) Getter for field:int8_t canary_static voidcanary_(MemorySegment struct, byte fieldValue) Setter for field:int8_t canary_static final ValueLayout.OfByteLayout for field:int8_t canary_static final longOffset for field:int8_t canary_static final GroupLayoutlayout()The layout of this structstatic intrebuild_count(MemorySegment struct) Getter for field:int32_t rebuild_countstatic voidrebuild_count(MemorySegment struct, int fieldValue) Setter for field:int32_t rebuild_countstatic final ValueLayout.OfIntLayout for field:int32_t rebuild_countstatic final longOffset for field:int32_t rebuild_countstatic MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static longsizeof()The size (in bytes) of this structstatic MemorySegmentsync_points(MemorySegment struct) Getter for field:ecs_vec_t sync_pointsstatic voidsync_points(MemorySegment struct, MemorySegment fieldValue) Setter for field:ecs_vec_t sync_pointsstatic final GroupLayoutLayout for field:ecs_vec_t sync_pointsstatic final longOffset for field:ecs_vec_t sync_pointsstatic intsystem_count(MemorySegment struct) Getter for field:int32_t system_countstatic voidsystem_count(MemorySegment struct, int fieldValue) Setter for field:int32_t system_countstatic final ValueLayout.OfIntLayout for field:int32_t system_countstatic final longOffset for field:int32_t system_countstatic MemorySegmentsystems(MemorySegment struct) Getter for field:ecs_vec_t systemsstatic voidsystems(MemorySegment struct, MemorySegment fieldValue) Setter for field:ecs_vec_t systemsstatic final GroupLayoutLayout for field:ecs_vec_t systemsstatic final longOffset for field:ecs_vec_t systemsstatic intt(MemorySegment struct) Getter for field:int32_t tstatic voidt(MemorySegment struct, int fieldValue) Setter for field:int32_t tstatic final ValueLayout.OfIntt$layout()Layout for field:int32_t tstatic final longt$offset()Offset for field:int32_t t
-
Method Details
-
layout
The layout of this struct -
canary_$layout
Layout for field:int8_t canary_ -
canary_$offset
public static final long canary_$offset()Offset for field:int8_t canary_ -
canary_
Getter for field:int8_t canary_ -
canary_
Setter for field:int8_t canary_ -
systems$layout
Layout for field:ecs_vec_t systems -
systems$offset
public static final long systems$offset()Offset for field:ecs_vec_t systems -
systems
Getter for field:ecs_vec_t systems -
systems
Setter for field:ecs_vec_t systems -
sync_points$layout
Layout for field:ecs_vec_t sync_points -
sync_points$offset
public static final long sync_points$offset()Offset for field:ecs_vec_t sync_points -
sync_points
Getter for field:ecs_vec_t sync_points -
sync_points
Setter for field:ecs_vec_t sync_points -
t$layout
Layout for field:int32_t t -
t$offset
public static final long t$offset()Offset for field:int32_t t -
t
Getter for field:int32_t t -
t
Setter for field:int32_t t -
system_count$layout
Layout for field:int32_t system_count -
system_count$offset
public static final long system_count$offset()Offset for field:int32_t system_count -
system_count
Getter for field:int32_t system_count -
system_count
Setter for field:int32_t system_count -
active_system_count$layout
Layout for field:int32_t active_system_count -
active_system_count$offset
public static final long active_system_count$offset()Offset for field:int32_t active_system_count -
active_system_count
Getter for field:int32_t active_system_count -
active_system_count
Setter for field:int32_t active_system_count -
rebuild_count$layout
Layout for field:int32_t rebuild_count -
rebuild_count$offset
public static final long rebuild_count$offset()Offset for field:int32_t rebuild_count -
rebuild_count
Getter for field:int32_t rebuild_count -
rebuild_count
Setter for field:int32_t rebuild_count -
asSlice
Obtains a slice ofarrayParamwhich selects the array element atindex. The returned segment has addressarrayParam.address() + index * layout().byteSize() -
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()usingallocator -
allocateArray
Allocate an array of sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-