timing

Imagine has full thread supprot that lets you create threads and thread safe Mutex locks.

imagine_current_time_get

void imagine_current_time_get(uint32 *seconds, uint32 *fractions);

Description: get time in seconds and fractions of seconds

imagine_delta_time_compute

double imagine_delta_time_compute(uint new_seconds, uint new_fractions, uint old_seconds, uint old_fractions);

Description: computes the ammount of time that has elapsed between two time messurements.

imagine_current_date_get

void imagine_current_date_get(uint *seconds, uint *minutes, uint *hours, uint *week_days, uint *month_days, uint *month, uint *year);

Description: Outputs the curent date information.