Class ecs_pipeline_stats_t

java.lang.Object
com.github.elebras1.flecs.ecs_pipeline_stats_t

public class ecs_pipeline_stats_t extends Object
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 Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • canary_$layout

      public static final ValueLayout.OfByte canary_$layout()
      Layout for field:
      int8_t canary_
      
    • canary_$offset

      public static final long canary_$offset()
      Offset for field:
      int8_t canary_
      
    • canary_

      public static byte canary_(MemorySegment struct)
      Getter for field:
      int8_t canary_
      
    • canary_

      public static void canary_(MemorySegment struct, byte fieldValue)
      Setter for field:
      int8_t canary_
      
    • systems$layout

      public static final GroupLayout 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

      public static MemorySegment systems(MemorySegment struct)
      Getter for field:
      ecs_vec_t systems
      
    • systems

      public static void systems(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_vec_t systems
      
    • sync_points$layout

      public static final GroupLayout 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

      public static MemorySegment sync_points(MemorySegment struct)
      Getter for field:
      ecs_vec_t sync_points
      
    • sync_points

      public static void sync_points(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_vec_t sync_points
      
    • t$layout

      public static final ValueLayout.OfInt t$layout()
      Layout for field:
      int32_t t
      
    • t$offset

      public static final long t$offset()
      Offset for field:
      int32_t t
      
    • t

      public static int t(MemorySegment struct)
      Getter for field:
      int32_t t
      
    • t

      public static void t(MemorySegment struct, int fieldValue)
      Setter for field:
      int32_t t
      
    • system_count$layout

      public static final ValueLayout.OfInt 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

      public static int system_count(MemorySegment struct)
      Getter for field:
      int32_t system_count
      
    • system_count

      public static void system_count(MemorySegment struct, int fieldValue)
      Setter for field:
      int32_t system_count
      
    • active_system_count$layout

      public static final ValueLayout.OfInt 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

      public static int active_system_count(MemorySegment struct)
      Getter for field:
      int32_t active_system_count
      
    • active_system_count

      public static void active_system_count(MemorySegment struct, int fieldValue)
      Setter for field:
      int32_t active_system_count
      
    • rebuild_count$layout

      public static final ValueLayout.OfInt 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

      public static int rebuild_count(MemorySegment struct)
      Getter for field:
      int32_t rebuild_count
      
    • rebuild_count

      public static void rebuild_count(MemorySegment struct, int fieldValue)
      Setter for field:
      int32_t rebuild_count
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()