Home
last modified time | relevance | path

Searched refs:timerfd (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/pixelstats/
DWlcReporter.cpp157 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()
DSysfsCollector.cpp920 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/
DWlcReporter.h73 bool ptmcWaitTimer(int timerfd);