ADOL-C: Automatic Differentiation in C/C++ 2.7.3
Loading...
Searching...
No Matches
Public Attributes | List of all members
RecordingFrame Struct Reference

One entry in the thread-local stack of nested recordings. More...

#include <taperegistry.h>

Collaboration diagram for RecordingFrame:
Collaboration graph
[legend]

Public Attributes

ValueTape * prev {nullptr}
 
ValueTape * current {nullptr}
 

Detailed Description

One entry in the thread-local stack of nested recordings.

trace_on() stores the previously selected tape and the tape being recorded; trace_off() uses the frame to restore the earlier selection. The stack is thread-local, while the registry that owns the tapes is process-wide.

Member Data Documentation

◆ current

ValueTape* RecordingFrame::current {nullptr}

◆ prev

ValueTape* RecordingFrame::prev {nullptr}

The documentation for this struct was generated from the following file: