SAT Solver Template
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
sat::TimingEvent Struct Reference

Represents an event with a duration. More...

#include <Profiler.hpp>

Public Member Functions

 TimingEvent (const detail::TP &start, const detail::TP &end) noexcept
 
template<typename T >
auto duration () const noexcept
 

Public Attributes

detail::TP start
 start point of the event
 
detail::TP end
 end point of the event
 

Detailed Description

Represents an event with a duration.

Constructor & Destructor Documentation

◆ TimingEvent()

sat::TimingEvent::TimingEvent ( const detail::TP &  start,
const detail::TP &  end 
)
noexcept

Ctor

Parameters
startstart point of the event
endend point of the event

Member Function Documentation

◆ duration()

template<typename T >
auto sat::TimingEvent::duration ( ) const
inlinenoexcept

gets the duration of the event

Template Parameters
Tduration type
Returns
duration of the event

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