Searched refs:timerfd (Results 1 – 3 of 3) sorted by relevance
/hardware/google/pixel/pixelstats/ |
D | WlcReporter.cpp | 157 bool WlcReporter::ptmcWaitTimer(int timerfd) { in ptmcWaitTimer() argument 165 if (timerfd_settime(timerfd, 0, &period, nullptr)) { in ptmcWaitTimer() 173 readval = read(timerfd, buf, sizeof(buf)); in ptmcWaitTimer() 189 int timerfd = timerfd_create(CLOCK_BOOTTIME, 0); in reportInBackground() local 190 if (timerfd < 0) { in reportInBackground() 194 if (ptmcWaitTimer(timerfd)) { in reportInBackground() 211 close(timerfd); in reportInBackground()
|
D | SysfsCollector.cpp | 920 int timerfd = timerfd_create(CLOCK_BOOTTIME, 0); in collect() local 921 if (timerfd < 0) { in collect() 942 if (timerfd_settime(timerfd, 0, &period, NULL)) { in collect() 952 readval = read(timerfd, buf, sizeof(buf)); in collect()
|
/hardware/google/pixel/pixelstats/include/pixelstats/ |
D | WlcReporter.h | 73 bool ptmcWaitTimer(int timerfd);
|