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

static constexpr 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 25 of file walltime.h.

Constructor & Destructor Documentation

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

Definition at line 72 of file walltime.h.

Member Function Documentation

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

Definition at line 65 of file walltime.h.

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

Definition at line 35 of file walltime.h.

Member Data Documentation

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

Definition at line 28 of file walltime.h.

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

Definition at line 32 of file walltime.h.

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

Definition at line 29 of file walltime.h.

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

Definition at line 30 of file walltime.h.


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


urg_stamped
Author(s): Atsushi Watanabe
autogenerated on Tue May 11 2021 02:14:05