diff options
Diffstat (limited to 'deps/openssl/openssl/doc/crypto/OPENSSL_instrument_bus.pod')
-rw-r--r-- | deps/openssl/openssl/doc/crypto/OPENSSL_instrument_bus.pod | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/deps/openssl/openssl/doc/crypto/OPENSSL_instrument_bus.pod b/deps/openssl/openssl/doc/crypto/OPENSSL_instrument_bus.pod index 4ed83e4950..1407261035 100644 --- a/deps/openssl/openssl/doc/crypto/OPENSSL_instrument_bus.pod +++ b/deps/openssl/openssl/doc/crypto/OPENSSL_instrument_bus.pod @@ -7,8 +7,8 @@ OPENSSL_instrument_bus, OPENSSL_instrument_bus2 - instrument references to memor =head1 SYNOPSIS #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); + size_t OPENSSL_instrument_bus(int *vector, size_t num); + size_t OPENSSL_instrument_bus2(int *vector, size_t num, size_t max); #endif =head1 DESCRIPTION @@ -23,10 +23,10 @@ interlocked manner, which should contribute additional noise on multi-processor systems. This also means that B<vector[num]> should be zeroed upon invocation (if you want to retrieve actual probe values). -OPENSSL_instrument_bus performs B<num> probes and records the number of +OPENSSL_instrument_bus() performs B<num> probes and records the number of oscillator cycles every probe took. -OPENSSL_instrument_bus2 on the other hand B<accumulates> consecutive +OPENSSL_instrument_bus2() on the other hand B<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 B<max> probes in attempt to fill the B<vector[num]>, @@ -40,3 +40,14 @@ not available on current platform. For reference, on x86 'flush cache line' was introduced with the SSE2 extensions. Otherwise number of recorded values is returned. + +=head1 COPYRIGHT + +Copyright 2011-2016 The OpenSSL Project Authors. All Rights Reserved. + +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 +L<https://www.openssl.org/source/license.html>. + +=cut |