package stats
Import Path
github.com/mlange-42/ark/ecs/stats (on go.dev)
Dependency Relation
imports 3 packages, and imported by one package
Involved Source Files
Package stats provides the structs returned by ecs.World.Stats().
Package-Level Type Names (total 4)
Archetype statistics.
Sum of capacity of the tables in this archetype.
Component IDs.
Component type names for ComponentIDs.
Component types for ComponentIDs.
Note that this field is excluded from JSON marshalling and un-marshalling.
Use ComponentTypeNames instead.
Number of free tables.
Memory reserved for entities and components, in bytes.
Memory for components per entity, in bytes.
Memory actually used for alive entities and their components components, in bytes.
Number of relation components in the archetype.
Number of entities in the tables of this archetype.
Table statistics.
(*Archetype) String() string
*Archetype : github.com/pancsta/asyncmachine-go/internal/nofmt.Stringer
*Archetype : github.com/pandatix/go-abnf.ElemItf
*Archetype : expvar.Var
*Archetype : fmt.Stringer
Entities statistics.
Current capacity of entity pool and entity list.
Recycled/available entities.
Current total number of entities in the pool (used + recycled).
Currently used/alive entities.
(*Entities) String() string
*Entities : github.com/pancsta/asyncmachine-go/internal/nofmt.Stringer
*Entities : github.com/pandatix/go-abnf.ElemItf
*Entities : expvar.Var
*Entities : fmt.Stringer
Table statistics.
Capacity of the table.
Memory reserved for entities and components, in bytes.
Memory actually used for alive entities and their components components, in bytes.
Number of entities in the table.
(*Table) String() string
*Table : github.com/pancsta/asyncmachine-go/internal/nofmt.Stringer
*Table : github.com/pandatix/go-abnf.ElemItf
*Table : expvar.Var
*Table : fmt.Stringer
World statistics.
Archetype statistics.
Number of cached filters.
Component type names, indexed by component ID.
Component types, indexed by component ID.
Note that this field is excluded from JSON marshalling and un-marshalling.
Use ComponentTypeNames instead.
Entity statistics.
Locked state of the world.
Memory reserved for entities and components, in bytes.
Memory actually used for alive entities and their components components, in bytes.
Number of registered observers.
(*World) String() string
*World : github.com/pancsta/asyncmachine-go/internal/nofmt.Stringer
*World : github.com/pandatix/go-abnf.ElemItf
*World : expvar.Var
*World : fmt.Stringer
func github.com/mlange-42/ark/ecs.(*World).Stats() *World
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |