Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::EnumeratorTraceInfo Class Reference

Information for an enumerator's traces. More...

#include <arcane/core/EnumeratorTraceWrapper.h>

Collaboration diagram for Arcane::EnumeratorTraceInfo:

Public Member Functions

Int64ArrayView counters ()
 Hardware counter values.
Int64 beginTime () const
 Start time in nanoseconds.
void setBeginTime (Int64 v)
 Sets the start time.
void setTraceInfo (const TraceInfo *ti)
 Sets the trace information.
const TraceInfotraceInfo () const
 Trace information (or nullptr) if none.

Private Attributes

std::array< Int64, 8 > m_counters = {}
Int64 m_begin_time = 0
TraceInfo m_trace_info
bool m_has_trace_info = false

Detailed Description

Information for an enumerator's traces.

Definition at line 42 of file EnumeratorTraceWrapper.h.

Member Function Documentation

◆ beginTime()

Int64 Arcane::EnumeratorTraceInfo::beginTime ( ) const
inline

Start time in nanoseconds.

Definition at line 50 of file EnumeratorTraceWrapper.h.

◆ counters()

Int64ArrayView Arcane::EnumeratorTraceInfo::counters ( )
inline

Hardware counter values.

Definition at line 47 of file EnumeratorTraceWrapper.h.

Referenced by Arcane::ItemEnumeratorTracer::exitEnumerator(), and Arcane::ItemEnumeratorTracer::exitEnumerator().

Here is the caller graph for this function:

◆ setBeginTime()

void Arcane::EnumeratorTraceInfo::setBeginTime ( Int64 v)
inline

Sets the start time.

Definition at line 53 of file EnumeratorTraceWrapper.h.

◆ setTraceInfo()

void Arcane::EnumeratorTraceInfo::setTraceInfo ( const TraceInfo * ti)
inline

Sets the trace information.

Definition at line 56 of file EnumeratorTraceWrapper.h.

◆ traceInfo()

const TraceInfo * Arcane::EnumeratorTraceInfo::traceInfo ( ) const
inline

Trace information (or nullptr) if none.

Definition at line 67 of file EnumeratorTraceWrapper.h.

Referenced by Arcane::ItemEnumeratorTracer::enterEnumerator(), and Arcane::ItemEnumeratorTracer::enterEnumerator().

Here is the caller graph for this function:

Member Data Documentation

◆ m_begin_time

Int64 Arcane::EnumeratorTraceInfo::m_begin_time = 0
private

Definition at line 75 of file EnumeratorTraceWrapper.h.

◆ m_counters

std::array<Int64, 8> Arcane::EnumeratorTraceInfo::m_counters = {}
private

Definition at line 74 of file EnumeratorTraceWrapper.h.

◆ m_has_trace_info

bool Arcane::EnumeratorTraceInfo::m_has_trace_info = false
private

Definition at line 77 of file EnumeratorTraceWrapper.h.

◆ m_trace_info

TraceInfo Arcane::EnumeratorTraceInfo::m_trace_info
private

Definition at line 76 of file EnumeratorTraceWrapper.h.


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