Searched refs:tss (Results 1 - 2 of 2) sorted by relevance
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | threadsndk.cpp | 175 double ustimer(struct timespec tss, struct timespec tse)
in ustimer() argument 177 double sd = difftime(tse.tv_sec, tss.tv_sec);
in ustimer() 178 long nsd = tse.tv_nsec - tss.tv_nsec;
in ustimer() 188 struct timespec tss, tse;
in Yieldfunc() local 189 timespec_get(&tss, TIME_UTC);
in Yieldfunc() 193 } while (ustimer(tss, tse) < hs);
in Yieldfunc() 200 struct timespec tss, tse;
in Thrd_yield() local 201 timespec_get(&tss, TIME_UTC);
in Thrd_yield() 204 ustimer(tss, tse);
in Thrd_yield()
|
H A D | threadsndk1.cpp | 584 static double ustimer(timespec tss, timespec tse)
in ustimer() argument 586 double sd = difftime(tse.tv_sec, tss.tv_sec);
in ustimer() 587 long nsd = tse.tv_nsec - tss.tv_nsec;
in ustimer()
|
Completed in 3 milliseconds