libvisual  0.5.0
Namespaces | Macros | Typedefs | Functions
VisTime
Collaboration diagram for VisTime:

Namespaces

namespace  LV
 Libvisual namespace.
 

Macros

#define VISUAL_NSECS_PER_SEC   1000000000
 
#define VISUAL_USECS_PER_SEC   1000000
 
#define VISUAL_MSECS_PER_SEC   1000
 
#define VISUAL_USECS_PER_MSEC   1000
 
#define VISUAL_NSECS_PER_MSEC   1000000
 
#define VISUAL_NSECS_PER_USEC   1000
 

Typedefs

typedef LV::Time VisTime
 
typedef LV::Timer VisTimer
 

Functions

VisTimevisual_time_new (void)
 
VisTimevisual_time_new_now (void)
 
VisTimevisual_time_new_with_values (long sec, long nsec)
 
VisTimevisual_time_clone (VisTime *src)
 
void visual_time_free (VisTime *time_)
 
void visual_time_set (VisTime *time_, long sec, long usec)
 
void visual_time_copy (VisTime *dest, VisTime *src)
 
void visual_time_get_now (VisTime *time_)
 
void visual_time_diff (VisTime *diff, VisTime *time1, VisTime *time2)
 
int visual_time_is_past (VisTime *time_, VisTime *ref)
 
double visual_time_to_secs (VisTime *time_)
 
uint64_t visual_time_to_msecs (VisTime *time_)
 
uint64_t visual_time_to_usecs (VisTime *time_)
 
void visual_usleep (uint64_t usecs)
 
void visual_time_set_from_msecs (VisTime *time_, uint64_t msecs)
 
VisTimervisual_timer_new (void)
 
void visual_timer_free (VisTimer *timer)
 
void visual_timer_reset (VisTimer *timer)
 
void visual_timer_start (VisTimer *timer)
 
void visual_timer_stop (VisTimer *timer)
 
void visual_timer_resume (VisTimer *timer)
 
int visual_timer_is_active (VisTimer *timer)
 
void visual_timer_elapsed (VisTimer *timer, VisTime *time_)
 
uint64_t visual_timer_elapsed_msecs (VisTimer *timer)
 
uint64_t visual_timer_elapsed_usecs (VisTimer *timer)
 
double visual_timer_elapsed_secs (VisTimer *timer)
 
int visual_timer_is_past (VisTimer *timer, VisTime *time_)
 
int visual_timer_is_past2 (VisTimer *timer, long sec, long nsec)
 

Detailed Description