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 | Milliseconds | ' echo '%chg | ' while read i; do LAST=0 PRE=0 VAL_TMP=0 VAL_INT=0 VAL_SIGN="+" echo '
' if [ -e ".metrics/${i}.html" ]; then # strip off "TAO___" if it exists NAME=${i#TAO___} echo "${NAME//___//}" elif [ -e ".metrics/images/${i}.png" ]; then # since you'll only have images if it's a composite, strip off the # path for the name echo "${i##*___}" fi echo ' | ' echo `tail -n1 .metrics/data/${i}.txt | cut -d" " -f1` let LAST=`tail -n1 .metrics/data/${i}.txt | cut -d" " -f2` echo " | $LAST | " let PRE=`tail -n2 .metrics/data/${i}.txt | head -n1 | cut -d" " -f2` let VAL_TMP="(($LAST-$PRE)*1000)/$PRE" 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} |