playrho::StepStats Struct Reference

Per-step statistics. More...

#include <StepStats.hpp>

Public Attributes

PreStepStats pre
 Pre-phase step statistics. More...
 
RegStepStats reg
 Reg-phase step statistics. More...
 
ToiStepStats toi
 TOI-phase step statistics. More...
 

Detailed Description

Per-step statistics.

These are statistics output from the d2::World::Step method.

Note
This data structure is 116-bytes large (on at least one 64-bit platform with 4-byte Real type).
Efficient transfer of this data is predicated on compiler support for "named-return-value-optimization" (N.R.V.O.) - a form of "copy elision".
See also
d2::World::Step.
https://en.wikipedia.org/wiki/Return_value_optimization
http://en.cppreference.com/w/cpp/language/copy_elision

Definition at line 119 of file StepStats.hpp.

Member Data Documentation

◆ pre

PreStepStats playrho::StepStats::pre

Pre-phase step statistics.

Examples
World.cpp.

Definition at line 121 of file StepStats.hpp.

◆ reg

RegStepStats playrho::StepStats::reg

Reg-phase step statistics.

Definition at line 122 of file StepStats.hpp.

◆ toi

ToiStepStats playrho::StepStats::toi

TOI-phase step statistics.

Definition at line 123 of file StepStats.hpp.


The documentation for this struct was generated from the following file: