Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
scip2::Walltime< DEVICE_TIMESTAMP_BITS > Class Template Reference

#include <walltime.h>

Public Member Functions

bool detectDeviceTimeUnderflow (const uint32_t &time_device) const
 
uint64_t update (const uint32_t &time_device)
 
 Walltime ()
 

Protected Attributes

bool initialized_
 
uint32_t time_device_prev_
 
uint64_t walltime_device_base_
 

Static Protected Attributes

constexpr static uint32_t middle_bits_ = (1 << DEVICE_TIMESTAMP_BITS) / 2
 

Detailed Description

template<int DEVICE_TIMESTAMP_BITS>
class scip2::Walltime< DEVICE_TIMESTAMP_BITS >

Definition at line 27 of file walltime.h.

Constructor & Destructor Documentation

◆ Walltime()

template<int DEVICE_TIMESTAMP_BITS>
scip2::Walltime< DEVICE_TIMESTAMP_BITS >::Walltime ( )
inline

Definition at line 74 of file walltime.h.

Member Function Documentation

◆ detectDeviceTimeUnderflow()

template<int DEVICE_TIMESTAMP_BITS>
bool scip2::Walltime< DEVICE_TIMESTAMP_BITS >::detectDeviceTimeUnderflow ( const uint32_t &  time_device) const
inline

Definition at line 67 of file walltime.h.

◆ update()

template<int DEVICE_TIMESTAMP_BITS>
uint64_t scip2::Walltime< DEVICE_TIMESTAMP_BITS >::update ( const uint32_t &  time_device)
inline

Definition at line 37 of file walltime.h.

Member Data Documentation

◆ initialized_

template<int DEVICE_TIMESTAMP_BITS>
bool scip2::Walltime< DEVICE_TIMESTAMP_BITS >::initialized_
protected

Definition at line 30 of file walltime.h.

◆ middle_bits_

template<int DEVICE_TIMESTAMP_BITS>
constexpr static uint32_t scip2::Walltime< DEVICE_TIMESTAMP_BITS >::middle_bits_ = (1 << DEVICE_TIMESTAMP_BITS) / 2
staticconstexprprotected

Definition at line 34 of file walltime.h.

◆ time_device_prev_

template<int DEVICE_TIMESTAMP_BITS>
uint32_t scip2::Walltime< DEVICE_TIMESTAMP_BITS >::time_device_prev_
protected

Definition at line 31 of file walltime.h.

◆ walltime_device_base_

template<int DEVICE_TIMESTAMP_BITS>
uint64_t scip2::Walltime< DEVICE_TIMESTAMP_BITS >::walltime_device_base_
protected

Definition at line 32 of file walltime.h.


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


urg_stamped
Author(s): Atsushi Watanabe
autogenerated on Wed Dec 18 2024 03:10:57