Struct nphysics3d::counters::SolverCounters[][src]

pub struct SolverCounters {
    pub nconstraints: usize,
    pub ncontacts: usize,
    pub velocity_resolution_time: Timer,
    pub assembly_time: Timer,
    pub velocity_update_time: Timer,
    pub position_resolution_time: Timer,
}

Performance counters related to constraints resolution.

Fields

Number of constraints generated.

Number of contacts found.

Time spent for the resolution of the constraints (force computation).

Time spent for the assembly of all the constraints into a linear complentarity problem.

Time spent for the update of the velocity of the bodies.

Time spent for the update of the position of the bodies.

Methods

impl SolverCounters
[src]

Creates a new counter initialized to zero.

Trait Implementations

impl Display for SolverCounters
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations