HomeSort by relevance Sort by last modified time
    Searched refs:clock_getcpuclockid (Results 1 - 14 of 14) sorted by null

  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
11-1-buildonly.c 10 int clock_getcpuclockid(pid_t, clockid_t *);
21 dummyvar = clock_getcpuclockid;
  /bionic/libc/bionic/
clock_getcpuclockid.cpp 34 int clock_getcpuclockid(pid_t pid, clockid_t* clockid) { function
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/
6-1.c 4 * The clock_getcpuclockid() function may fail and return ESRCH if no process
27 if (clock_getcpuclockid(-2, &clockid_1) == 0) {
28 printf("clock_getcpuclockid(-2, ..) succeeded unexpectedly\n");
2-1.c 7 * If pid=0, then clock_getcpuclockid() will return the CPU-time clock of
37 if (clock_getcpuclockid(getpid(), &clockid_1) != 0) {
38 printf("clock_getcpuclockid(getpid(),) failed\n");
42 if (clock_getcpuclockid(0, &clockid_2) != 0) {
43 printf("clock_getcpuclockid(0,) failed\n");
1-2.c 9 * General test that clock_getcpuclockid() returns CPU-time clock for a
39 error = clock_getcpuclockid(1, &clockid);
41 printf("clock_getcpuclockid() failed: %s\n", strerror(error));
50 printf("clock_getcpuclockid() returned an invalid clockid_t: "
1-1.c 9 * General test that clock_getcpuclockid() returns CPU-time clock for a
49 if (clock_getcpuclockid(getpid(), &clockid) != 0) {
50 printf("clock_getcpuclockid() failed\n");
60 ("clock_getcpuclockid() returned an invalid clockid_t: %d\n",
5-1.c 4 * The clock_getcpuclockid() function shall fail and return EPERM if the
51 error = clock_getcpuclockid(1, &clockid_1);
53 printf("clock_getcpuclockid(1, ..) passed\n");
56 printf("clock_getcpuclockid(1, ..) failed with an improper "
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/
1-3.c 57 if (clock_getcpuclockid(getpid(), &clockid) != 0) {
58 printf("clock_getcpuclockid() failed\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
22-1.c 77 ret = clock_getcpuclockid(0, &clp);
124 ret = clock_getcpuclockid(0, &clp);
  /bionic/libc/include/
time.h 93 int clock_getcpuclockid(pid_t, clockid_t*) __INTRODUCED_IN(23);
  /device/linaro/bootloader/arm-trusted-firmware/include/stdlib/
time.h 177 int clock_getcpuclockid(pid_t, clockid_t *);
  /bionic/tests/
time_test.cpp 594 TEST(time, clock_getcpuclockid) {
597 ASSERT_EQ(0, clock_getcpuclockid(getpid(), &clockid));
603 ASSERT_EQ(0, clock_getcpuclockid(getppid(), &clockid));
607 // We can't use -1 for invalid pid here, because clock_getcpuclockid() can't detect it.
609 ASSERT_EQ(ESRCH, clock_getcpuclockid(GetInvalidPid(), &clockid));
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/
time.h 352 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __THROW;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
time.h 352 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __THROW;

Completed in 1502 milliseconds