One of the goals of the PCES-TENA project is to decrease compile times. In order to track our progress, metrics are gathered nightly on all objects in the ACE+TAO distribution and displayed here.' echo '
' echo 'All the experiments run on a dual Pentium 4 @2.4Ghz, with 512Mb of RAM. The machine is running Linux (Redhat 8.1), and we use gcc-3.2 to compile ACE+TAO.
' echo 'ACE+TAO Configuration | config.h |
' cat $ACE_ROOT/ace/config.h echo ' | |
ACE+TAO Configuration | platform_macros.GNU |
' cat $ACE_ROOT/include/makeinclude/platform_macros.GNU echo ' | |
CPU Information | /proc/cpuinfo |
' cat /proc/cpuinfo echo ' | |
Available Memory | /proc/meminfo |
' cat /proc/meminfo echo ' | |
OS Version | uname -a |
' /bin/uname -a echo ' | |
Compiler Version | gcc -v |
' /usr/bin/gcc -v > .metrics/gcc.txt 2>&1 cat .metrics/gcc.txt echo ' | |
Library Version | /lib/libc.so.6 |
' /lib/libc.so.6 | sed -e 's/\</g' -e 's/>/\>/g' echo ' |
' echo "
Object | ' echo 'Last Compile | Date | $UNITS | " echo '%chg | ' while read i; do if [ -e ".metrics/data/${i}.${EXT}" ]; then LAST=0 PRE=0 VAL_TMP=0 VAL_INT=0 VAL_SIGN="+" echo '
' if [ -e ".metrics/${i}_${TYPE}.html" ]; then # strip off "TAO___" if it exists NAME=${i#TAO___} echo "${NAME//___//}" elif [ -e ".metrics/images/${i}_${TYPE}.png" ]; then # since you'll only have images if it's a composite, strip off the # path for the name if [ "$TYPE" = "Footprint" ]; then # if we are doing footprint, add library llib=`grep -e "lib.*\.a" .metrics/size_composites.txt | grep ${i} | awk '{print $1}'` #echo "lib $llib" #llib="${llib% :}" llib="${llib//___//}" NAME="${llib}(${i##*___})" else NAME="${i##*___}" fi echo "${NAME}" else echo "${i##*___}" fi echo ' | ' echo `tail -n1 .metrics/data/${i}.${EXT} | cut -d" " -f1` let LAST=`tail -n1 .metrics/data/${i}.${EXT} | cut -d" " -f2` echo " | $LAST | " let PRE=`tail -n2 .metrics/data/${i}.${EXT} | head -n1 | cut -d" " -f2` let VAL_TMP="((($LAST+1)-($PRE+1))*1000)/($PRE+1)" if [ $VAL_TMP -lt 0 ]; then VAL_SIGN="-" let VAL_TMP="-1*$VAL_TMP" elif [ $VAL_TMP -eq 0 ]; then VAL_SIGN= fi let VAL_INT="$VAL_TMP/10" let VAL_TENTH="$VAL_TMP-($VAL_INT*10)" echo "${VAL_SIGN}${VAL_INT}.${VAL_TENTH} |