Muvicado HD
Loading...
Searching...
No Matches
VVStopwatch Class Reference

This class is used to measure how long it takes to do things; much easier to work with than NSDate. More...

#include <VVStopwatch.h>

Inheritance diagram for VVStopwatch:
Collaboration diagram for VVStopwatch:

Instance Methods

(void) - start
 Starts the stopwatch over again.
(float) - timeSinceStart
 Returns a float representing the time (in seconds) since the stopwatch was started.

Class Methods

(id) + create
 Returns an auto-released instance of VVStopwatch; the stopwatch is started on creation.

Protected Attributes

struct timeval startTime

Detailed Description

This class is used to measure how long it takes to do things; much easier to work with than NSDate.

Definition at line 13 of file VVStopwatch.h.

Method Documentation

◆ create

+ (id) create

Returns an auto-released instance of VVStopwatch; the stopwatch is started on creation.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ start

- (void) start

Starts the stopwatch over again.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ timeSinceStart

- (float) timeSinceStart

Returns a float representing the time (in seconds) since the stopwatch was started.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ startTime

- (struct timeval) startTime
protected

Definition at line 14 of file VVStopwatch.h.


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