namespace Konis.Testbed
{
///
/// What one emitter, or all of them together, costs. The fill figures are estimates read off a coarse grid laid
/// over the screen.
///
public class EmitterStats
{
///
/// Names the emitter, or says the figures are totals.
///
public string Title = "";
///
/// Whether the figures add up every emitter rather than describing one.
///
public bool IsTotal;
///
/// How many particles are alive.
///
public long Particles;
///
/// How many particles the stores can hold.
///
public long Capacity;
///
/// How many seconds the emitter has run.
///
public double Age;
///
/// How many seconds the emitter births for, where zero means it never stops.
///
public double Lifespan;
///
/// How many particles per second the emitters birth.
///
public double Rate;
///
/// How many births were owed but not made.
///
public long DroppedBirths;
///
/// The milliseconds a frame spends advancing the particles.
///
public double UpdateMilliseconds;
///
/// The milliseconds a frame spends writing the particles out as sprites.
///
public double WriteMilliseconds;
///
/// The bytes the particle stores take up.
///
public long Bytes;
///
/// The screen pixels shaded in a frame, counting a pixel once for every sprite over it.
///
public long FillPixels;
///
/// The screen pixels at least one sprite covers.
///
public long CoveredPixels;
///
/// The fraction of the screen the sprites cover.
///
public double ScreenFraction;
///
/// How many sprites cover a covered pixel on average.
///
public double Overdraw;
}
}