Home
last modified time | relevance | path

Searched refs:clockid (Results 1 - 4 of 4) sorted by relevance

/test/xts/acts/kernel_lite/time_posix/src/
H A DAlarmTest.cpp378 clockid_t clockid = GetRandom(2048); in HWTEST_F() local
380 EXPECT_EQ(timer_create(clockid, NULL, &tid), -1) << "ERROR: timer_create() != -1"; in HWTEST_F()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dpthreadndk.cpp807 clockid_t clockid; in TestCondAttrGetClock() local
813 err = pthread_condattr_getclock(&condAttr, &clockid); in TestCondAttrGetClock()
846 clockid_t clockid = CLOCK_MONOTONIC; in TestCondAttrSetClock() local
852 err = pthread_condattr_setclock(&condAttr, clockid); in TestCondAttrSetClock()
1010 clockid_t clockid = PARAM_0; in testGetCpuClockId() local
1016 err = pthread_getcpuclockid(pidFirst, &clockid); in testGetCpuClockId()
H A Dotherstestndk.cpp1052 static inline void GetDelayedTimeByClockid(struct timespec *ts, unsigned int ms, clockid_t clockid) in GetDelayedTimeByClockid() argument
1057 clock_gettime(clockid, &tsNow); in GetDelayedTimeByClockid()
H A Dpthreadndk1.cpp847 clockid_t clockid; in PThreadGetCpuClockId() local
848 int ret = pthread_getcpuclockid(pthread_self(), &clockid); in PThreadGetCpuClockId()

Completed in 11 milliseconds