API documentation  2.0rc1
Public Member Functions | List of all members
client::Performance Class Reference

#include <clientlib.h>

Inherits client::Object.

Public Member Functions

PerformanceNavigationget_navigation ()
 
double get_timeOrigin ()
 
PerformanceTimingget_timing ()
 
void clearMarks ()
 
void clearMarks (const String &markName)
 
void clearMeasures ()
 
void clearMeasures (const String &measureName)
 
void clearResourceTimings ()
 
ObjectgetEntries ()
 
ObjectgetEntriesByName (const String &name)
 
ObjectgetEntriesByName (const String &name, const String &type)
 
ObjectgetEntriesByType (const String &type)
 
ObjectgetMarks ()
 
ObjectgetMarks (const String &markName)
 
ObjectgetMeasures ()
 
ObjectgetMeasures (const String &measureName)
 
void mark (const String &markName)
 
void measure (const String &measureName)
 
void measure (const String &measureName, const String &startMarkName)
 
void measure (const String &measureName, const String &startMarkName, const String &endMarkName)
 
double now ()
 
void setResourceTimingBufferSize (double maxSize)
 
ObjecttoJSON ()
 
Performanceget_prototype ()
 
void set_prototype (Performance *)
 
 Performance ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ Performance()

client::Performance::Performance ( )

Member Function Documentation

◆ clearMarks() [1/2]

void client::Performance::clearMarks ( )

◆ clearMarks() [2/2]

void client::Performance::clearMarks ( const String markName)

◆ clearMeasures() [1/2]

void client::Performance::clearMeasures ( )

◆ clearMeasures() [2/2]

void client::Performance::clearMeasures ( const String measureName)

◆ clearResourceTimings()

void client::Performance::clearResourceTimings ( )

◆ get_navigation()

PerformanceNavigation* client::Performance::get_navigation ( )

◆ get_prototype()

Performance* client::Performance::get_prototype ( )

◆ get_timeOrigin()

double client::Performance::get_timeOrigin ( )

◆ get_timing()

PerformanceTiming* client::Performance::get_timing ( )

◆ getEntries()

Object* client::Performance::getEntries ( )

◆ getEntriesByName() [1/2]

Object* client::Performance::getEntriesByName ( const String name)

◆ getEntriesByName() [2/2]

Object* client::Performance::getEntriesByName ( const String name,
const String type 
)

◆ getEntriesByType()

Object* client::Performance::getEntriesByType ( const String type)

◆ getMarks() [1/2]

Object* client::Performance::getMarks ( )

◆ getMarks() [2/2]

Object* client::Performance::getMarks ( const String markName)

◆ getMeasures() [1/2]

Object* client::Performance::getMeasures ( )

◆ getMeasures() [2/2]

Object* client::Performance::getMeasures ( const String measureName)

◆ mark()

void client::Performance::mark ( const String markName)

◆ measure() [1/3]

void client::Performance::measure ( const String measureName)

◆ measure() [2/3]

void client::Performance::measure ( const String measureName,
const String startMarkName 
)

◆ measure() [3/3]

void client::Performance::measure ( const String measureName,
const String startMarkName,
const String endMarkName 
)

◆ now()

double client::Performance::now ( )

◆ set_prototype()

void client::Performance::set_prototype ( Performance )

◆ setResourceTimingBufferSize()

void client::Performance::setResourceTimingBufferSize ( double  maxSize)

◆ toJSON()

Object* client::Performance::toJSON ( )