FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
trace Struct Reference

Records execution of a loop whose iterations all execute the same sequence of tasks. More...

Classes

struct  guard
 RAII guard for executing a trace. More...
 

Public Member Functions

guard make_guard ()
 Create a guard for this trace.
 
traceoperator= (trace) &noexcept
 Traces can be (move-)assigned.
 
void skip ()
 Skip the next call to the tracer.
 
 trace ()
 Construct a trace.
 
 trace (id_t id)
 Construct a trace with user defined id.
 
 trace (trace &&) noexcept
 Traces are movable. Those that have been moved from must not be used.
 

Detailed Description

Records execution of a loop whose iterations all execute the same sequence of tasks.

With the Legion backend, subsequent iterations run faster if traced. Some data::mutator specializations cannot be traced. The first iteration should be ignored if it might perform different ghost copies.

Constructor & Destructor Documentation

◆ trace() [1/3]

trace ( )

Construct a trace.

◆ trace() [2/3]

trace ( id_t  id)
explicit

Construct a trace with user defined id.

Parameters
idUser defined id for the trace
Deprecated:
Use the default constructor.

◆ trace() [3/3]

trace ( trace &&  )
noexcept

Traces are movable. Those that have been moved from must not be used.

Member Function Documentation

◆ operator=()

trace & operator= ( trace  ) &
noexcept

Traces can be (move-)assigned.

◆ make_guard()

trace::guard make_guard ( )

Create a guard for this trace.

◆ skip()

void skip ( )

Skip the next call to the tracer.