struct CCL::DiagnosticTimeAccumulator

#include <diagnosticprofiler.h>

struct DiagnosticTimeAccumulator: public CCL::Profiler::TimeAccumulator
{
    // fields

    PROPERTY_BOOL (enabled, Enabled) private CString key;
    String label;

    // construction

    DiagnosticTimeAccumulator (
        StringID context,
        StringID key,
        StringRef label = nullptr
    );
};

Inherited Members

public:
    // fields

    const char* name;
    double elapsed;
    double variance;
    double start;
    int iterations;
    bool verbose;

    // methods

    const char* getName () const;
    void begin ();
    void end ();
    double getStdDev () const;
    double getAverage () const;
    void reset ();
    void print ();