tv 3044 daemons/fenced/fenced_commands.c struct timespec tv; tv 3046 daemons/fenced/fenced_commands.c qb_util_timespec_from_epoch_get(&tv); tv 3047 daemons/fenced/fenced_commands.c op->completed = tv.tv_sec; tv 3048 daemons/fenced/fenced_commands.c op->completed_nsec = tv.tv_nsec; tv 1733 lib/common/iso8601.c struct timespec tv; tv 1737 lib/common/iso8601.c qb_util_timespec_from_epoch_get(&tv); tv 1739 lib/common/iso8601.c *epoch = tv.tv_sec; tv 1741 lib/common/iso8601.c crm_time_set_timet(&dt, &(tv.tv_sec)); tv 1744 lib/common/iso8601.c hr->useconds = tv.tv_nsec / QB_TIME_NS_IN_USEC; tv 589 lib/common/utils.c struct timeval tv = { .tv_sec = 0, .tv_usec = (suseconds_t) ms }; tv 591 lib/common/utils.c select(0, NULL, NULL, NULL, &tv); tv 56 maint/gnulib/lib/gethrxtime.c struct timeval tv; tv 57 maint/gnulib/lib/gethrxtime.c microuptime (&tv); tv 58 maint/gnulib/lib/gethrxtime.c return xtime_make (tv.tv_sec, 1000 * tv.tv_usec); tv 56 maint/gnulib/lib/getsockopt.c struct timeval tv; tv 61 maint/gnulib/lib/getsockopt.c tv.tv_sec = milliseconds / 1000; tv 62 maint/gnulib/lib/getsockopt.c tv.tv_usec = (milliseconds - 1000 * tv.tv_sec) * 1000; tv 66 maint/gnulib/lib/getsockopt.c memcpy (optval, &tv, n); tv 34 maint/gnulib/lib/gettime.c struct timeval tv; tv 35 maint/gnulib/lib/gettime.c gettimeofday (&tv, NULL); tv 36 maint/gnulib/lib/gettime.c ts->tv_sec = tv.tv_sec; tv 37 maint/gnulib/lib/gettime.c ts->tv_nsec = tv.tv_usec * 1000; tv 78 maint/gnulib/lib/gettimeofday.c gettimeofday (struct timeval *restrict tv, void *restrict tz) tv 116 maint/gnulib/lib/gettimeofday.c tv->tv_sec = microseconds_since_1970 / (ULONGLONG) 1000000; tv 117 maint/gnulib/lib/gettimeofday.c tv->tv_usec = microseconds_since_1970 % (ULONGLONG) 1000000; tv 131 maint/gnulib/lib/gettimeofday.c tv->tv_sec = otv.tv_sec; tv 132 maint/gnulib/lib/gettimeofday.c tv->tv_usec = otv.tv_usec; tv 135 maint/gnulib/lib/gettimeofday.c int result = gettimeofday (tv, (struct timezone *) tz); tv 146 maint/gnulib/lib/gettimeofday.c tv->tv_sec = time (NULL); tv 147 maint/gnulib/lib/gettimeofday.c tv->tv_usec = 0; tv 2734 maint/gnulib/lib/mini-gmp.c mpz_t tu, tv; tv 2749 maint/gnulib/lib/mini-gmp.c mpz_init (tv); tv 2753 maint/gnulib/lib/mini-gmp.c mpz_abs (tv, v); tv 2754 maint/gnulib/lib/mini-gmp.c vz = mpz_make_odd (tv); tv 2757 maint/gnulib/lib/mini-gmp.c if (tu->_mp_size < tv->_mp_size) tv 2758 maint/gnulib/lib/mini-gmp.c mpz_swap (tu, tv); tv 2760 maint/gnulib/lib/mini-gmp.c mpz_tdiv_r (tu, tu, tv); tv 2763 maint/gnulib/lib/mini-gmp.c mpz_swap (g, tv); tv 2771 maint/gnulib/lib/mini-gmp.c c = mpz_cmp (tu, tv); tv 2778 maint/gnulib/lib/mini-gmp.c mpz_swap (tu, tv); tv 2780 maint/gnulib/lib/mini-gmp.c if (tv->_mp_size == 1) tv 2784 maint/gnulib/lib/mini-gmp.c mpz_tdiv_r (tu, tu, tv); tv 2786 maint/gnulib/lib/mini-gmp.c *gp = mpn_gcd_11 (tu->_mp_d[0], tv->_mp_d[0]); tv 2791 maint/gnulib/lib/mini-gmp.c mpz_sub (tu, tu, tv); tv 2794 maint/gnulib/lib/mini-gmp.c mpz_clear (tv); tv 2801 maint/gnulib/lib/mini-gmp.c mpz_t tu, tv, s0, s1, t0, t1; tv 2830 maint/gnulib/lib/mini-gmp.c mpz_init (tv); tv 2838 maint/gnulib/lib/mini-gmp.c mpz_abs (tv, v); tv 2839 maint/gnulib/lib/mini-gmp.c vz = mpz_make_odd (tv); tv 2846 maint/gnulib/lib/mini-gmp.c if (tu->_mp_size < tv->_mp_size) tv 2848 maint/gnulib/lib/mini-gmp.c mpz_swap (tu, tv); tv 2877 maint/gnulib/lib/mini-gmp.c mpz_tdiv_qr (t1, tu, tu, tv); tv 2893 maint/gnulib/lib/mini-gmp.c c = mpz_cmp (tu, tv); tv 2904 maint/gnulib/lib/mini-gmp.c mpz_sub (tv, tv, tu); tv 2908 maint/gnulib/lib/mini-gmp.c shift = mpz_make_odd (tv); tv 2914 maint/gnulib/lib/mini-gmp.c mpz_sub (tu, tu, tv); tv 2931 maint/gnulib/lib/mini-gmp.c mpz_mul_2exp (tv, tv, gz); tv 2937 maint/gnulib/lib/mini-gmp.c mpz_divexact (s1, v, tv); tv 2939 maint/gnulib/lib/mini-gmp.c mpz_divexact (t1, u, tv); tv 2967 maint/gnulib/lib/mini-gmp.c mpz_swap (g, tv); tv 2974 maint/gnulib/lib/mini-gmp.c mpz_clear (tv); tv 372 maint/gnulib/lib/poll.c struct timeval tv; tv 398 maint/gnulib/lib/poll.c ptv = &tv; tv 404 maint/gnulib/lib/poll.c ptv = &tv; tv 46 maint/gnulib/lib/pselect.c struct timeval tv, *tvp; tv 56 maint/gnulib/lib/pselect.c tv.tv_sec = timeout->tv_sec; tv 57 maint/gnulib/lib/pselect.c tv.tv_usec = (timeout->tv_nsec + 999) / 1000; tv 58 maint/gnulib/lib/pselect.c tvp = &tv; tv 50 maint/gnulib/lib/setsockopt.c const struct timeval *tv = optval; tv 51 maint/gnulib/lib/setsockopt.c int milliseconds = tv->tv_sec * 1000 + tv->tv_usec / 1000; tv 44 maint/gnulib/lib/settime.c struct timeval tv; tv 46 maint/gnulib/lib/settime.c tv.tv_sec = ts->tv_sec; tv 47 maint/gnulib/lib/settime.c tv.tv_usec = ts->tv_nsec / 1000; tv 48 maint/gnulib/lib/settime.c return settimeofday (&tv, 0); tv 89 maint/gnulib/lib/tempname.c struct __timespec64 tv; tv 90 maint/gnulib/lib/tempname.c __clock_gettime64 (CLOCK_MONOTONIC, &tv); tv 91 maint/gnulib/lib/tempname.c var ^= tv.tv_nsec; tv 165 maint/gnulib/lib/timevar.c struct timevar_def *tv = &timevars[timevar]; tv 168 maint/gnulib/lib/timevar.c tv->used = 1; tv 171 maint/gnulib/lib/timevar.c if (tv->standalone) tv 199 maint/gnulib/lib/timevar.c context->timevar = tv; tv 239 maint/gnulib/lib/timevar.c struct timevar_def *tv = &timevars[timevar]; tv 242 maint/gnulib/lib/timevar.c tv->used = 1; tv 246 maint/gnulib/lib/timevar.c if (tv->standalone) tv 248 maint/gnulib/lib/timevar.c tv->standalone = 1; tv 250 maint/gnulib/lib/timevar.c set_to_current_time (&tv->start_time); tv 259 maint/gnulib/lib/timevar.c struct timevar_def *tv = &timevars[timevar]; tv 262 maint/gnulib/lib/timevar.c if (!tv->standalone) tv 266 maint/gnulib/lib/timevar.c timevar_accumulate (&tv->elapsed, &tv->start_time, &now); tv 273 maint/gnulib/lib/timevar.c struct timevar_def *tv = &timevars[timevar]; tv 274 maint/gnulib/lib/timevar.c *elapsed = tv->elapsed; tv 277 maint/gnulib/lib/timevar.c if (tv->standalone) tv 280 maint/gnulib/lib/timevar.c timevar_accumulate (elapsed, &tv->start_time, &now); tv 283 maint/gnulib/lib/timevar.c else if (stack->timevar == tv) tv 327 maint/gnulib/lib/timevar.c struct timevar_def *tv = &timevars[(timevar_id_t) id]; tv 328 maint/gnulib/lib/timevar.c if (!tv->used) tv 332 maint/gnulib/lib/timevar.c const int usr = total->user ? tv->elapsed.user * 100 / total->user : 0; tv 333 maint/gnulib/lib/timevar.c const int sys = total->sys ? tv->elapsed.sys * 100 / total->sys : 0; tv 334 maint/gnulib/lib/timevar.c const int wall = total->wall ? tv->elapsed.wall * 100 / total->wall : 0; tv 340 maint/gnulib/lib/timevar.c fprintf (fp, " %-22s", tv->name); tv 341 maint/gnulib/lib/timevar.c fprintf (fp, "%8.3f (%2d%%)", tv->elapsed.user * 1e-9, usr); tv 342 maint/gnulib/lib/timevar.c fprintf (fp, "%8.3f (%2d%%)", tv->elapsed.sys * 1e-9, sys); tv 343 maint/gnulib/lib/timevar.c fprintf (fp, "%11.6f (%2d%%)\n", tv->elapsed.wall * 1e-9, wall); tv 37 maint/gnulib/tests/test-gettimeofday.c struct timeval tv; tv 40 maint/gnulib/tests/test-gettimeofday.c gettimeofday (&tv, NULL);