Lines Matching refs:time
19 #include "internal/time.h"
60 These functions allow the current time to be obtained and for basic
63 B<OSSL_TIME> can represent a duration, or a point in time. Where it is
64 used to represent a point in time, it does so by expressing a duration
72 a time can represent. The accuracy is independent of this and is system
75 B<ossl_ticks2time> converts an integral number of counts to a time.
77 B<ossl_time2ticks> converts a time to an integral number of counts.
81 to a time. These functions are implemented as macros.
84 time to an integral number of second, milliseconds and microseconds
89 This value represents the time Epoch and it is returned when an underflow
95 B<ossl_time_now> returns the current time relative to an Epoch which
97 execution. The time returned is monotonic and need not represent
98 wall-clock time. The time returned by this function is useful for
102 B<ossl_time_to_timeval> converts a time to a I<struct timeval>.
104 B<ossl_time_from_timeval> converts a I<struct timeval> to a time.
106 B<ossl_time_to_time_t> converts a time to a I<time_t>.
108 B<ossl_time_from_time_t> converts a I<time_t> to a time.
114 B<ossl_time_is_zero> returns 1 if the time I<t> is zero and 0 otherwise.
116 B<ossl_time_is_infinite> returns 1 if the time I<t> is infinite and 0 otherwise.
126 B<ossl_time_multiply> performs a saturating multiplication of a time value by a
129 B<ossl_time_divide> performs division of a time value by a given integer
136 time values.
138 B<ossl_time_min> returns the lesser of two time values.
140 B<ossl_time_max> returns the greater of two time values.
148 B<ossl_time_now> returns the current time, or the time of the Epoch on error.
150 B<ossl_time_zero> returns the time of the Epoch.
152 B<ossl_time_infinite> returns the last representable time.
160 that the time object represents.
163 B<ossl_time_from_time_t> all return the converted time.
171 the last representable time on overflow.
174 time of the Epoch on underflow.
176 B<ossl_time_multiply> returns the result of multiplying the given time by the
179 B<ossl_time_divide> returns the result of dividing the given time by the given
183 time and the two integral values.
186 input time values.