Lift
Library of parallel computing primitives for GPUs and multi-core CPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Public Member Functions | Public Attributes | List of all members
lift::timer< cuda > Struct Template Reference

#include <timer.h>

Classes

struct  sample_type
 

Public Member Functions

 timer ()
 
 timer (const timer &)=delete
 
 ~timer ()
 
void start (void)
 
void stop (void)
 
float elapsed_time (void)
 

Public Attributes

std::stack< sample_type > retired_events
 
sample_type active_sample
 
bool started
 
float time_counter
 

Detailed Description

template<>
struct lift::timer< cuda >

Definition at line 88 of file timer.h.

Constructor & Destructor Documentation

lift::timer< cuda >::timer ( )
inline

Definition at line 102 of file timer.h.

lift::timer< cuda >::timer ( const timer< cuda > &  )
delete
lift::timer< cuda >::~timer ( )
inline

Definition at line 108 of file timer.h.

Member Function Documentation

float lift::timer< cuda >::elapsed_time ( void  )
inline

Definition at line 187 of file timer.h.

void lift::timer< cuda >::start ( void  )
inline

Definition at line 113 of file timer.h.

void lift::timer< cuda >::stop ( void  )
inline

Definition at line 147 of file timer.h.

Member Data Documentation

sample_type lift::timer< cuda >::active_sample

Definition at line 98 of file timer.h.

std::stack<sample_type> lift::timer< cuda >::retired_events

Definition at line 96 of file timer.h.

bool lift::timer< cuda >::started

Definition at line 99 of file timer.h.

float lift::timer< cuda >::time_counter

Definition at line 100 of file timer.h.


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