File indexing completed on 2023-05-28 05:10:58 UTC
view on githubraw file Latest commit b4daa243 on 2023-05-28 03:53:22 UTC
b4daa24319 Shre*0001 #ifndef ADSTACK_LOADED
0002 #define ADSTACK_LOADED 1
0003
0004 /** Push of int (4 bytes int) array */
0005 extern void pushInteger4Array(int *x, int n) ;
0006
0007 /** Pop of int (4 bytes int) array */
0008 extern void popInteger4Array(int *x, int n) ;
0009
0010 /** Push of long (8 bytes int) array */
0011 extern void pushInteger8Array(long *x, int n) ;
0012
0013 /** Pop of long (8 bytes int) array */
0014 extern void popInteger8Array(long *x, int n) ;
0015
0016 /** Push of float (4 bytes real) array */
0017 extern void pushReal4Array(float *x, int n) ;
0018
0019 /** Pop of float (4 bytes real) array */
0020 extern void popReal4Array(float *x, int n) ;
0021
0022 /** Push of double (8 bytes real) array */
0023 extern void pushReal8Array(double *x, int n) ;
0024
0025 /** Pop of double (8 bytes real) array */
0026 extern void popReal8Array(double *x, int n) ;
0027
0028 /** Push of char (byte) array */
0029 extern void pushCharacterArray(char *x, int n) ;
0030
0031 /** Pop of char (byte) array */
0032 extern void popCharacterArray(char *x, int n) ;
0033
0034 /*** There is no primitive complex type in C ***/
0035 /* extern void pushComplex8Array(ccmplx *x, int n) ; */
0036 /* extern void popComplex8Array(ccmplx *x, int n) ; */
0037 /* extern void pushComplex16Array(cdcmplx *x, int n) ; */
0038 /* extern void popComplex16Array(cdcmplx *x, int n) ; */
0039
0040 /** Utility for OLDadBuffer.c (mostly)
0041 * Push an array of any type onto the main stack */
0042 extern void pushNArray(char *x, unsigned int nbChars, int checkReadOnly) ;
0043
0044 /** Utility for OLDadBuffer.c (mostly)
0045 * Pop an array of any type from the main stack */
0046 extern void popNArray(char *x, unsigned int nbChars, int checkReadOnly) ;
0047
0048 /** Display the maximum size reached by the main AD stack */
0049 extern void adStack_showPeakSize() ;
0050
0051 /** Utility for OLDadBuffer.c (mostly)
0052 * Display the total amount of memory pushed */
0053 extern void showTotalTraffic(unsigned long long int localtraffic) ;
0054
0055 /** Utility for OLDadBuffer.c (mostly)
0056 * Display in detail the contents of the AD stack */
0057 extern void showStack() ;
0058
0059 /** Utility for OLDadBuffer.c */
0060 extern void showStackSize(int i4i, int i8i, int r4i, int r8i, int c8i, int c16i, int s1i, int biti, int ptri, int pos) ;
0061
0062 /** Utility for OLDadBuffer.c */
0063 extern void startStackRepeat1() ;
0064
0065 /** Utility for OLDadBuffer.c */
0066 extern void startStackRepeat2() ;
0067
0068 /** Utility for OLDadBuffer.c */
0069 extern void resetStackRepeat1() ;
0070
0071 /** Utility for OLDadBuffer.c */
0072 extern void resetStackRepeat2() ;
0073
0074 /** Utility for OLDadBuffer.c */
0075 extern void endStackRepeat() ;
0076
0077 #endif