Swarm-NG  1.1
gpulog_msg_layout.h File Reference

Defines class templates to enable compile-time calculations of log record layout. More...

Go to the source code of this file.

Classes

struct  gpulog::internal::argio< T >
 i/o support: scalar PODs More...
 
struct  gpulog::internal::argio< T * >
 force a compiler error if the user attempts to serialize a pointer. More...
 
struct  gpulog::internal::argio< T[N]>
 presized array read/write specialization More...
 
struct  gpulog::internal::argio< array< T > >
 i/o support: unbound array (array<>) specialization More...
 
struct  gpulog::internal::pktsize< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >
 struct template to compile-time compute (properly aligned) offsets and sizes of passed types. More...
 

Namespaces

 gpulog
 class template pktsize<> and supporting classes and templates that enable the compile-time calculation of log record layout (byte offsets to which the data will be stored).
 

Constant Groups

 gpulog
 class template pktsize<> and supporting classes and templates that enable the compile-time calculation of log record layout (byte offsets to which the data will be stored).
 

Macros

#define ASTART(at, a)   (at & (a-1) ? (at & ~(a-1)) + a : at) /* Aligned start address closest but >= than at, for type T */
 Compile-time record layout computation machinery.
 

Functions

template<typename T >
std::ostream & gpulog::internal::operator<< (std::ostream &out, const array< T > &v)
 Aux operators for debugging.
 

Detailed Description

Defines class templates to enable compile-time calculations of log record layout.

Definition in file gpulog_msg_layout.h.