webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WTF::Stopwatch Class Reference

#include <Stopwatch.h>

Inheritance diagram for WTF::Stopwatch:
WTF::RefCounted< Stopwatch > WTF::RefCounted< Stopwatch > WTF::RefCounted< Stopwatch > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

void reset ()
 
void start ()
 
void stop ()
 
double elapsedTime ()
 
double elapsedTimeSince (MonotonicTime)
 
bool isActive () const
 
void reset ()
 
void start ()
 
void stop ()
 
double elapsedTime ()
 
double elapsedTimeSince (MonotonicTime)
 
bool isActive () const
 
void reset ()
 
void start ()
 
void stop ()
 
double elapsedTime ()
 
double elapsedTimeSince (MonotonicTime)
 
bool isActive () const
 
- Public Member Functions inherited from WTF::RefCounted< Stopwatch >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< Stopwatchcreate ()
 
static Ref< Stopwatchcreate ()
 
static Ref< Stopwatchcreate ()
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< Stopwatch >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Function Documentation

◆ create() [1/3]

static Ref<Stopwatch> WTF::Stopwatch::create ( )
inlinestatic

◆ create() [2/3]

static Ref<Stopwatch> WTF::Stopwatch::create ( )
inlinestatic

◆ create() [3/3]

static Ref<Stopwatch> WTF::Stopwatch::create ( )
inlinestatic

◆ elapsedTime() [1/3]

double WTF::Stopwatch::elapsedTime ( )
inline

◆ elapsedTime() [2/3]

double WTF::Stopwatch::elapsedTime ( )

◆ elapsedTime() [3/3]

double WTF::Stopwatch::elapsedTime ( )

◆ elapsedTimeSince() [1/3]

double WTF::Stopwatch::elapsedTimeSince ( MonotonicTime  )

◆ elapsedTimeSince() [2/3]

double WTF::Stopwatch::elapsedTimeSince ( MonotonicTime  timeStamp)
inline

◆ elapsedTimeSince() [3/3]

double WTF::Stopwatch::elapsedTimeSince ( MonotonicTime  )

◆ isActive() [1/3]

bool WTF::Stopwatch::isActive ( ) const
inline

◆ isActive() [2/3]

bool WTF::Stopwatch::isActive ( ) const
inline

◆ isActive() [3/3]

bool WTF::Stopwatch::isActive ( ) const
inline

◆ reset() [1/3]

void WTF::Stopwatch::reset ( )

◆ reset() [2/3]

void WTF::Stopwatch::reset ( )

◆ reset() [3/3]

void WTF::Stopwatch::reset ( )
inline

◆ start() [1/3]

void WTF::Stopwatch::start ( )
inline

◆ start() [2/3]

void WTF::Stopwatch::start ( )

◆ start() [3/3]

void WTF::Stopwatch::start ( )

◆ stop() [1/3]

void WTF::Stopwatch::stop ( )

◆ stop() [2/3]

void WTF::Stopwatch::stop ( )
inline

◆ stop() [3/3]

void WTF::Stopwatch::stop ( )

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