OPENSSL_instrument_bus(3) | OpenSSL | OPENSSL_instrument_bus(3) |
#ifdef OPENSSL_CPUID_OBJ size_t OPENSSL_instrument_bus(int *vector, size_t num); size_t OPENSSL_instrument_bus2(int *vector, size_t num, size_t max); #endif
OPENSSL_instrument_bus() performs num probes and records the number of oscillator cycles every probe took.
OPENSSL_instrument_bus2() on the other hand accumulates consecutive probes with the same value, i.e. in a way it records duration of periods when probe values appeared deterministic. The subroutine performs at most max probes in attempt to fill the vector[num], with max value of 0 meaning "as many as it takes."
Otherwise number of recorded values is returned.
Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
2018-09-23 | 1.1.1i |