mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
c505e6129a
Added support for Reproducible Enclave Build using Docker file. Added support for Intel AVX-512 instructions and Intel SHA Extensions New Instructions (SHA-NI) in trusted libraries. Support both EPID and ECDSA based quote for quoting related interfaces in sgx_uae_service library. Updated key exchange library to support both EPID and ECDSA based remote attestation. Support new interface to check platform information blob from remote attestation response message. Fixed bugs. Signed-off-by: Li, Xun <xun.li@intel.com>
20 lines
727 B
Bash
Executable File
20 lines
727 B
Bash
Executable File
#!/bin/sh
|
|
platform=$1
|
|
LIBUNWIND=../src/.libs/libunwind.so
|
|
LIBUNWIND_PLAT=../src/.libs/libunwind-$platform.so
|
|
warmup=$(./forker 2000 /bin/true | cut -f1 -d' ')
|
|
|
|
nsec1=$(./forker 2000 /bin/true | cut -f1 -d' ')
|
|
printf "\"/bin/true\"\t\t\t\t\t\t: $nsec1 nsec/execution\n"
|
|
|
|
nsec2=$(LD_PRELOAD=$LIBUNWIND ./forker 2000 /bin/true | cut -f1 -d' ')
|
|
printf "\"LD_PRELOAD=$LIBUNWIND /bin/true\"\t: $nsec2 nsec/execution\n"
|
|
|
|
nsec3=$(LD_PRELOAD=$LIBUNWIND_PLAT ./forker 2000 /bin/true | cut -f1 -d' ')
|
|
printf "\"LD_PRELOAD=$LIBUNWIND_PLAT /bin/true\"\t: $nsec3 nsec/execution\n"
|
|
|
|
echo
|
|
|
|
printf "Overhead of preloading $LIBUNWIND\t: $(($nsec2 - $nsec1)) nsec\n"
|
|
printf "Overhead of preloading $LIBUNWIND_PLAT\t: $(($nsec3 - $nsec1)) nsec\n"
|