tfel
Loading...
Searching...
No Matches
mfront::BehaviourProfiler::Timer Struct Reference

#include </home/runner/work/tfel/tfel/mfront/include/MFront/BehaviourProfiler.hxx>

Public Member Functions

 Timer (BehaviourProfiler &, const index_type)
Timer & operator= (const Timer &)=delete
Timer & operator= (Timer &&)=delete
 ~Timer ()
 destructor

Protected Member Functions

 Timer (const Timer &)=default
 Timer (Timer &&)=default

Protected Attributes

BehaviourProfiler & gtimer
 timer to which the results are reported
const index_type c
 code block associated with the timer
timespec start
 start
timespec end
 end

Detailed Description

a timer for a specicied code block. This descructor will increase the time count for the code block.

Constructor & Destructor Documentation

◆ Timer()

mfront::BehaviourProfiler::Timer::Timer ( BehaviourProfiler & ,
const index_type  )
Parameters
[in,out]t: global timer
[in]cn: code block

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