COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
carmaWrap.clock Class Reference
Collaboration diagram for carmaWrap.clock:

Public Member Functions

None __init__ (self, context context, int i)
 Create a CarmaClock object which provides timing based on GPU clock count. More...
 
None tic (self)
 
None toc (self)
 

Properties

 cc = property
 
type of : int More...
 
 gpu_freq = property
 
type of : float More...
 
 time_buffer = property
 
type of : obj_double More...
 

Detailed Description

Definition at line 135 of file carmaWrap.py.

Constructor & Destructor Documentation

◆ __init__()

None carmaWrap.clock.__init__ (   self,
context  context,
int  i 
)

Create a CarmaClock object which provides timing based on GPU clock count.

Parameters
context(CarmaContext): carma context
i(int): time buffer size

Definition at line 145 of file carmaWrap.py.

Member Function Documentation

◆ tic()

None carmaWrap.clock.tic (   self)

Definition at line 146 of file carmaWrap.py.

◆ toc()

None carmaWrap.clock.toc (   self)

Definition at line 147 of file carmaWrap.py.

Property Documentation

◆ cc

carmaWrap.clock.cc = property
static


type of : int

Definition at line 152 of file carmaWrap.py.

◆ gpu_freq

carmaWrap.clock.gpu_freq = property
static


type of : float

Definition at line 159 of file carmaWrap.py.

◆ time_buffer

carmaWrap.clock.time_buffer = property
static


type of : obj_double

Definition at line 166 of file carmaWrap.py.


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