Lines Matching refs:OSSL_TIME

5 OSSL_TIME, OSSL_TIME_SECOND, OSSL_TIME_MS, OSSL_TIME_US,
21 typedef struct OSSL_TIME;
27 OSSL_TIME ossl_ticks2time(uint64_t);
28 uint64_t ossl_time2ticks(OSSL_TIME t);
29 OSSL_TIME ossl_seconds2time(uint64_t);
30 uint64_t ossl_time2seconds(OSSL_TIME t);
31 OSSL_TIME ossl_ms2time(uint64_t);
32 uint64_t ossl_time2ms(OSSL_TIME t);
33 OSSL_TIME ossl_us2time(uint64_t);
34 uint64_t ossl_time2us(OSSL_TIME t);
36 OSSL_TIME ossl_time_zero(void);
37 OSSL_TIME ossl_time_infinite(void);
38 OSSL_TIME ossl_time_now(void);
40 struct timeval ossl_time_to_timeval(OSSL_TIME t);
41 OSSL_TIME ossl_time_from_timeval(struct timeval tv);
42 time_t ossl_time_to_time_t(OSSL_TIME t);
43 OSSL_TIME ossl_time_from_time_t(time_t t);
45 int ossl_time_compare(OSSL_TIME a, OSSL_TIME b);
46 int ossl_time_is_zero(OSSL_TIME t);
47 int ossl_time_is_infinite(OSSL_TIME t);
49 OSSL_TIME ossl_time_add(OSSL_TIME a, OSSL_TIME b);
50 OSSL_TIME ossl_time_subtract(OSSL_TIME a, OSSL_TIME b);
51 OSSL_TIME ossl_time_multiply(OSSL_TIME a, uint64_t b);
52 OSSL_TIME ossl_time_divide(OSSL_TIME a, uint64_t b);
53 OSSL_TIME ossl_time_muldiv(OSSL_TIME a, uint64_t b, uint64_t c);
54 OSSL_TIME ossl_time_abs_difference(OSSL_TIME a, OSSL_TIME b);
55 OSSL_TIME ossl_time_max(OSSL_TIME a, OSSL_TIME b);
56 OSSL_TIME ossl_time_min(OSSL_TIME a, OSSL_TIME b);
63 B<OSSL_TIME> can represent a duration, or a point in time. Where it is
65 relative to some reference Epoch. The OSSL_TIME structure itself does
67 an OSSL_TIME requires that the Epoch it is to be interpreted relative
71 B<OSSL_TIME>. Specifically, it is the number of counts per second that
88 B<ossl_time_zero> returns the smallest representable B<OSSL_TIME>.
92 B<ossl_time_infinite> returns the largest representable B<OSSL_TIME>.