Highly Efficient FFT for Exascale: HeFFTe v2.3
heffte::add_trace Struct Reference

hefftetrace More...

#include <heffte_trace.h>

Public Member Functions

 add_trace (std::string s)
 Defines a trace.
 
 ~add_trace ()
 Saves a trace.
 

Public Attributes

std::string name
 Defines the name of a trace.
 
double start_time
 Saves the starting wall-clock-time of the trace.
 

Detailed Description

hefftetrace

Declares an event to be traced.

The constructor will record the current wall-clock-time and the name of the event, the destructor will measure the wall-clock-time and will add the event to the event_log saving the name, start time and duration.


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