NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | List of all members
nvbio::cuda::WorkQueueStats Struct Reference

Detailed description

a simple class to keep track of utilization stats

Definition at line 288 of file work_queue.h.

#include <work_queue.h>

Public Types

typedef WorkQueueStatsView View
 

Public Methods

 WorkQueueStats ()
 
void clear ()
 
View view ()
 
float utilization (const WorkQueueStatsEvent type) const
 
float avg_iterations () const
 
float max_iterations () const
 

Member Typedef Documentation

Definition at line 290 of file work_queue.h.

Constructor & Destructor Documentation

nvbio::cuda::WorkQueueStats::WorkQueueStats ( )
inline

default constructor

Definition at line 294 of file work_queue.h.

Member Function Documentation

float nvbio::cuda::WorkQueueStats::avg_iterations ( ) const
inline

return measured iterations

Definition at line 316 of file work_queue.h.

void nvbio::cuda::WorkQueueStats::clear ( void  )
inline

clear all stats

Definition at line 298 of file work_queue.h.

float nvbio::cuda::WorkQueueStats::max_iterations ( ) const
inline

return measured iterations

Definition at line 320 of file work_queue.h.

float nvbio::cuda::WorkQueueStats::utilization ( const WorkQueueStatsEvent  type) const
inline

return measured utilization

Definition at line 312 of file work_queue.h.

View nvbio::cuda::WorkQueueStats::view ( )
inline

return a device-side view

Definition at line 302 of file work_queue.h.


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