CLOCK_MONOTONIC
if (clock_gettime(CLOCK_MONOTONIC, &st.start))
if (clock_gettime(CLOCK_MONOTONIC, &end))
if (clock_getres(CLOCK_MONOTONIC, &ts_res))
clock_gettime(CLOCK_MONOTONIC, &now);
defined(CLOCK_MONOTONIC) || defined(CLOCK_REALTIME))
# ifdef CLOCK_MONOTONIC
if (clock_gettime(CLOCK_MONOTONIC, ts) == 0)
clock_gettime(CLOCK_MONOTONIC, &start);
clock_gettime(CLOCK_MONOTONIC, &end);
if (clock_gettime(CLOCK_MONOTONIC, &t))
#ifdef CLOCK_MONOTONIC
m = CLOCK_MONOTONIC;
clock_id != CLOCK_MONOTONIC) {
if (pthread_condattr_setclock(&attr, CLOCK_MONOTONIC) != 0) {
err = clock_gettime(CLOCK_MONOTONIC, &ts);
clock_gettime(CLOCK_MONOTONIC, &tp);
clock_gettime(CLOCK_MONOTONIC, &sp);
CLOCK_MONOTONIC, HRTIMER_MODE_REL);
CLOCK_MONOTONIC, HRTIMER_MODE_REL);
hrtimer_init(&i915->pmu.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
hrtimer_init(&d->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
BUG_ON(clock_id != CLOCK_MONOTONIC);
case CLOCK_MONOTONIC:
case CLOCK_MONOTONIC:
case CLOCK_MONOTONIC:
case CLOCK_MONOTONIC:
clock_gettime(CLOCK_MONOTONIC, &stime);
clock_gettime(CLOCK_MONOTONIC, &etime);
clock_gettime(CLOCK_MONOTONIC, &stime);
clock_gettime(CLOCK_MONOTONIC, &etime);
clock_gettime(CLOCK_MONOTONIC, &sp);
clock_gettime(CLOCK_MONOTONIC, &sp);
if (clock_gettime(CLOCK_MONOTONIC, &before_ts) == -1)
if (clock_gettime(CLOCK_MONOTONIC, &after) == -1)
if (clock_gettime(CLOCK_MONOTONIC, &after) == -1)
clock_gettime(CLOCK_MONOTONIC, &sp);
clock_gettime(CLOCK_MONOTONIC, &sp);
clock_gettime(CLOCK_MONOTONIC, &sp);
clock_gettime(CLOCK_MONOTONIC, &res);
clock_gettime(CLOCK_MONOTONIC, &sp);