|
ADOL-C: Automatic Differentiation in C/C++ 2.7.3
|
Identity, statistics, file names, and recording metadata of one tape. More...
#include <tapeinfos.h>

Public Types | |
| enum | StatEntries { NUM_INDEPENDENTS , NUM_DEPENDENTS , NUM_MAX_LIVES , NUM_TAYS , OP_BUFFER_SIZE , NUM_OPERATIONS , OP_FILE_ACCESS , NUM_LOCATIONS , LOC_FILE_ACCESS , NUM_VALUES , VAL_FILE_ACCESS , LOC_BUFFER_SIZE , VAL_BUFFER_SIZE , TAY_BUFFER_SIZE , NUM_EQ_PROD , NO_MIN_MAX , NUM_SWITCHES , NUM_PARAM , STAT_SIZE } |
| enum | FILES { OPERATIONS_FILE , LOCATIONS_FILE , VALUES_FILE , TAYLORS_FILE } |
| enum | TAPENAMES { LOCATIONS_TAPE , VALUES_TAPE , OPERATIONS_TAPE , TAYLORS_TAPE } |
| using | StatArray = std::array< size_t, STAT_SIZE > |
Public Member Functions | |
| ~TapeInfos () | |
| TapeInfos ()=default | |
| TapeInfos (short tapeId) | |
| TapeInfos (short tapeId, std::array< std::string, 4 > &&tapeBaseNames) | |
| TapeInfos (const TapeInfos &)=delete | |
| TapeInfos & | operator= (const TapeInfos &)=delete |
| TapeInfos (TapeInfos &&other) noexcept | |
| TapeInfos & | operator= (TapeInfos &&other) noexcept |
| int | getThreadIndex () |
| Generates an id for the thread within the function is called. | |
| char * | createFileName (short tapeId, int tapeType) |
Static Public Member Functions | |
| static char * | duplicatestr (const char *instr) |
Public Attributes | |
| StatArray | stats {} |
| std::array< char *, 4 > | fileNames {} |
| std::array< std::string, 4 > | tapeBaseNames_ |
| short | tapeId_ {-1} |
| int | keepTape {0} |
| int | skipFileCleanup {0} |
Static Public Attributes | |
| static constexpr size_t | maxLocsPerOp {10} |
Identity, statistics, file names, and recording metadata of one tape.
This movable metadata object records buffer sizes, independent/dependent counts, file-backed tape names, trace flags, and related configuration. Buffer ownership and evaluation synchronization live in ValueTape and its recording/evaluation contexts instead.
| using TapeInfos::StatArray = std::array<size_t, STAT_SIZE> |
| enum TapeInfos::FILES |
| enum TapeInfos::TAPENAMES |
|
inline |
|
default |
|
inlineexplicit |
|
inline |
|
delete |
|
inlinenoexcept |
|
inline |
|
inlinestatic |
|
inline |
Generates an id for the thread within the function is called.
| std::array<char *, 4> TapeInfos::fileNames {} |
| int TapeInfos::keepTape {0} |
|
staticconstexpr |
| int TapeInfos::skipFileCleanup {0} |
| StatArray TapeInfos::stats {} |
| std::array<std::string, 4> TapeInfos::tapeBaseNames_ |
| short TapeInfos::tapeId_ {-1} |