ProtoMol - an object-oriented component based framework for Molecular Dynamics simulations.

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

ProtoMol::Cycles Class Reference

#include <Cycles.h>

List of all members.

Public Types

typedef Private::ticks ticks

Public Member Functions

 Cycles ()
void start ()
void stop ()
void reset ()
double getCycles () const

Static Public Member Functions

ticks getCounter ()

Private Attributes

bool myRunningFlag
ticks myStartTime
ticks myEndTime


Detailed Description

A simple and precise CPU cycle counter a la Timer.


Member Typedef Documentation

typedef Private::ticks ProtoMol::Cycles::ticks
 


Constructor & Destructor Documentation

ProtoMol::Cycles::Cycles  )  [inline]
 


Member Function Documentation

ticks ProtoMol::Cycles::getCounter  )  [inline, static]
 

Direct access of the CPU cycle counter - hopefully inlined.

double ProtoMol::Cycles::getCycles  )  const [inline]
 

void ProtoMol::Cycles::reset  )  [inline]
 

void ProtoMol::Cycles::start  )  [inline]
 

void ProtoMol::Cycles::stop  )  [inline]
 


Member Data Documentation

ticks ProtoMol::Cycles::myEndTime [private]
 

bool ProtoMol::Cycles::myRunningFlag [private]
 

ticks ProtoMol::Cycles::myStartTime [private]
 


The documentation for this class was generated from the following file: Last update: . GNU GENERAL PUBLIC LICENSE, copyrighted by the University of Notre Dame and the University of Bergen, Norway.