Add stub code for Clock test.

This commit is contained in:
Hong Chen 2024-02-20 12:38:18 -06:00
parent 9e87908352
commit 6339f76e5c
2 changed files with 7 additions and 1 deletions

View File

@ -21,7 +21,7 @@ BASE_OBJECTS = ../object_${TRICK_HOST_CPU}/Clock.o\
../object_${TRICK_HOST_CPU}/clock_c_intf.o
GETTIMEOFDAY_CLOCK_OBJECTS = ${BASE_OBJECTS} GetTimeOfDayClock_test.o ../object_${TRICK_HOST_CPU}/GetTimeOfDayClock.o exec_get_rt_nap_stub.o exec_set_rt_nap_stats.o
GETTIMEOFDAY_CLOCK_OBJECTS = ${BASE_OBJECTS} GetTimeOfDayClock_test.o ../object_${TRICK_HOST_CPU}/GetTimeOfDayClock.o exec_get_rt_nap_stub.o exec_set_rt_nap_stats_stub.o
# All tests produced by this Makefile. Remember to add new tests you
# created to the list.
@ -45,3 +45,6 @@ GetTimeOfDayClock_test : ${GETTIMEOFDAY_CLOCK_OBJECTS}
exec_get_rt_nap_stub.o : exec_get_rt_nap_stub.cpp
$(TRICK_CXX) $(TRICK_CPPFLAGS) -c $<
exec_set_rt_nap_stats_stub.o : exec_set_rt_nap_stats_stub.cpp
$(TRICK_CXX) $(TRICK_CPPFLAGS) -c $<

View File

@ -0,0 +1,3 @@
extern "C" void exec_set_rt_nap_stats(long long clock_time_before_rt_nap, long long clock_time_after_rt_nap) {
}