Changeset 190

Ignore:
Timestamp:
Nov 29, 2010 6:31:25 PM (9 years ago)
Message:

correct documentation of tapestats and STAT_SIZE

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

Location:
 r178 {\sf counts[1]}: & the number of dependents, i.e.~calls to \boldmath $\gg=$ \unboldmath,\\ {\sf counts[2]}: & the maximal number of live active variables,\\ {\sf counts[3]}: & the size of value stack (number of overwrites),\\ {\sf counts[3]}: & the size of taylor stack (number of overwrites),\\ {\sf counts[4]}: & the buffer size (a multiple of eight), \end{tabular} \begin{tabular}{ll} {\sf counts[5]}: & the total number of operations recorded,\\ {\sf counts[6-10]}: & other internal information about the tape. {\sf counts[6-13]}: & other internal information about the tape. \end{tabular} \] The values {\sf maxlive} = {\sf counts[2]} and {\sf vssize} = {\sf counts[3]} The values {\sf maxlive} = {\sf counts[2]} and {\sf tssize} = {\sf counts[3]} determine the temporary storage requirements during calls to the routines $(${\sf deg}$+1)*${\sf maxlive} {\sf double}s in core and, in addition, a sequential data set called the value stack of {\sf vssize}$*${\sf keep} {\sf revreal}s if called with the of {\sf tssize}$*${\sf keep} {\sf revreal}s if called with the option {\sf keep} $>$ 0. Here the type {\sf revreal} is defined as {\sf double} or {\sf float} in ... void main() { int n,i,j,tape_stats[11]; int n,i,j,tape_stats[STAT_SIZE]; cout << "SPEELPENNINGS PRODUCT (ADOL-C Documented Example) \n"; cout << "number of independent variables = ?  \n";