struct CCL::IPerformanceMeter

Overview

#include <iperformance.h>

struct IPerformanceMeter: public CCL::IUnknown
{
    // methods

    virtual void CCL_API setMaxPeriod (double seconds) = 0;
    virtual void CCL_API beginPeriod () = 0;
    virtual void CCL_API endPeriod () = 0;
    virtual double CCL_API getPerformance () = 0;
    virtual tbool CCL_API isOverLoad () = 0;
    virtual void CCL_API setOverLoad (tbool state) = 0;
    virtual void CCL_API reset () = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Methods

virtual double CCL_API getPerformance () = 0

Get performance (1.0 means 100 per cent).