mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 02:40:08 +00:00
#805 add C call to clock_tics_per_sec
This commit is contained in:
parent
731b9b9c1f
commit
b1d791dc94
@ -13,6 +13,7 @@ int clock_spin(long long ref) ;
|
||||
int clock_set_reference(long long ref) ;
|
||||
double clock_get_rt_clock_ratio(void) ;
|
||||
int clock_set_rt_clock_ratio(double in_rt_clock_ratio) ;
|
||||
unsigned long long clock_tics_per_sec(void) ;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -32,3 +32,6 @@ extern "C" int clock_set_rt_clock_ratio(double in_clock_ratio) {
|
||||
return the_clock->set_rt_clock_ratio(in_clock_ratio) ;
|
||||
}
|
||||
|
||||
extern "C" unsigned long long clock_tics_per_sec(void) {
|
||||
return the_clock->clock_tics_per_sec;
|
||||
}
|
Loading…
Reference in New Issue
Block a user