From: Sage Weil Date: Mon, 26 Jan 2015 23:57:33 +0000 (-0800) Subject: unittest_crypto: benchmark 100,000 CryptoKey::encrypt() calls X-Git-Tag: v0.94.7~31^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F7801%2Fhead;p=ceph.git unittest_crypto: benchmark 100,000 CryptoKey::encrypt() calls Signed-off-by: Sage Weil (cherry picked from commit fb4b6c52d8e31e8dedfa8aecc16c389f0e7d86cf) Conflicts: src/test/crypto.cc : complements the incorrect cherry-pick df3f971eafda9c54881c13dcf47f996f18e17028 see http://tracker.ceph.com/issues/14863 for more information --- diff --git a/src/test/crypto.cc b/src/test/crypto.cc index 150d2a45cc55..17e90d04097c 100644 --- a/src/test/crypto.cc +++ b/src/test/crypto.cc @@ -3,7 +3,10 @@ #include "include/types.h" #include "auth/Crypto.h" +#include "common/Clock.h" #include "common/ceph_crypto.h" +#include "common/ceph_context.h" +#include "global/global_context.h" #include "test/unit.h"