1570af302Sopenharmony_ci#include <sys/times.h> 2570af302Sopenharmony_ci#include "syscall.h" 3570af302Sopenharmony_ci 4570af302Sopenharmony_ciclock_t times(struct tms *tms) 5570af302Sopenharmony_ci{ 6570af302Sopenharmony_ci#ifdef __LITEOS_A__ 7570af302Sopenharmony_ci return syscall(SYS_times, tms); 8570af302Sopenharmony_ci#else 9570af302Sopenharmony_ci return __syscall(SYS_times, tms); 10570af302Sopenharmony_ci#endif 11570af302Sopenharmony_ci} 12