RTEMS 6.1-rc1
Functions

This source file contains the implementation of the time and ticks test support. More...

#include <rtems/test.h>
#include <inttypes.h>
#include <stdatomic.h>
#include <stdio.h>
#include <time.h>

Functions

const char * T_time_to_string_ns (T_time time, T_time_string string)
 
const char * T_time_to_string_us (T_time time, T_time_string string)
 
const char * T_time_to_string_ms (T_time time, T_time_string string)
 
const char * T_time_to_string_s (T_time time, T_time_string string)
 
const char * T_ticks_to_string_ns (T_ticks ticks, T_time_string string)
 
const char * T_ticks_to_string_us (T_ticks ticks, T_time_string string)
 
const char * T_ticks_to_string_ms (T_ticks ticks, T_time_string string)
 
const char * T_ticks_to_string_s (T_ticks ticks, T_time_string string)
 
uint64_t T_ticks_to_time (T_ticks ticks)
 
T_ticks T_time_to_ticks (T_time time)
 
T_time T_seconds_and_nanoseconds_to_time (uint32_t s, uint32_t ns)
 
void T_time_to_seconds_and_nanoseconds (T_time time, uint32_t *s, uint32_t *ns)
 
T_time T_now_clock (void)
 
T_ticks T_tick (void)
 
T_time T_now_dummy (void)
 
T_time T_now_tick (void)
 

Detailed Description

This source file contains the implementation of the time and ticks test support.