RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PerformanceMeasurement::Panel Class Reference

#include <performance_measurement.h>

Inheritance diagram for PerformanceMeasurement::Panel:
RT::DeviceWorkspace::InstanceRT::List< T >::NodeIO::BlockSettings::Object

Public Slots

void reset (void)
 
void resetMaxTimeStep (void)
 
void update (void)
 

Public Member Functions

 Panel (QWidget *)
 
virtual ~Panel (void)
 
void read (void)
 
void write (void)
 
- Public Member Functions inherited from RT::Device
 Device (void)
 
virtual ~Device (void)
 
bool getActive (void) const
 
void setActive (bool)
 
- Public Member Functions inherited from RT::List< T >::Node
 Node (void)
 
virtual ~Node (void)
 
bool operator== (const Node &x) const
 
- Public Member Functions inherited from Workspace::Instance
 Instance (std::string name, variable_t *variables, size_t size)
 
virtual ~Instance (void)
 
size_t getCount (IO::flags_t type) const
 
std::string getName (IO::flags_t type, size_t index) const
 
std::string getDescription (IO::flags_t type, size_t index) const
 
double getValue (IO::flags_t type, size_t index) const
 
std::string getValueString (IO::flags_t type, size_t index) const
 
void setValue (size_t index, double value)
 
void setComment (size_t index, std::string comment)
 
- Public Member Functions inherited from IO::Block
 Block (std::string name, channel_t *channels, size_t size)
 
virtual ~Block (void)
 
std::string getName (void) const
 
double input (size_t index) const
 
double output (size_t index) const
 
- Public Member Functions inherited from Settings::Object
 Object (void)
 
virtual ~Object (void)
 
ID getID (void) const
 
State save (void) const
 
void load (const State &)
 
void deferred (const State &)
 

Private Types

enum  { INIT1, INIT2, EXEC }
 

Private Attributes

enum
PerformanceMeasurement::Panel:: { ... }  
state
 
double duration
 
double lastRead
 
double timestep
 
double latency
 
double maxDuration
 
double maxTimestep
 
double maxLatency
 
double jitter
 
RunningStat timestepStat
 
RunningStat latencyStat
 
QLineEdit * durationEdit
 
QLineEdit * timestepEdit
 
QLineEdit * maxDurationEdit
 
QLineEdit * maxTimestepEdit
 
QLineEdit * timestepJitterEdit
 

Additional Inherited Members

- Public Types inherited from Settings::Object
typedef unsigned long ID
 
- Static Public Attributes inherited from Settings::Object
static const ID INVALID = 0
 
- Protected Member Functions inherited from Workspace::Instance
double * getData (IO::flags_t type, size_t index)
 
void setData (IO::flags_t type, size_t index, double *value)
 
- Protected Member Functions inherited from IO::Block
double & output (size_t index)
 
- Protected Member Functions inherited from Settings::Object
virtual void doLoad (const State &)
 
virtual void doDeferred (const State &)
 
virtual void doSave (State &) const
 

Detailed Description

Definition at line 61 of file performance_measurement.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
INIT1 
INIT2 
EXEC 

Definition at line 95 of file performance_measurement.h.

Constructor & Destructor Documentation

PerformanceMeasurement::Panel::Panel(QWidget * parent)

Definition at line 34 of file performance_measurement.cpp.

PerformanceMeasurement::Panel::~Panel(void )
virtual

Definition at line 110 of file performance_measurement.cpp.

Member Function Documentation

void PerformanceMeasurement::Panel::read(void )
virtual

Measures the real-time period of the system

Reimplemented from RT::Device.

Definition at line 115 of file performance_measurement.cpp.

void PerformanceMeasurement::Panel::reset(void )
slot

Starts the statistics over

Definition at line 166 of file performance_measurement.cpp.

void PerformanceMeasurement::Panel::resetMaxTimeStep(void )
slot

Definition at line 173 of file performance_measurement.cpp.

void PerformanceMeasurement::Panel::update(void )
slot

Updates the GUI with the latest values

Definition at line 178 of file performance_measurement.cpp.

void PerformanceMeasurement::Panel::write(void )
virtual

Measures the computation time for loaded modules

Reimplemented from RT::Device.

Definition at line 144 of file performance_measurement.cpp.

Member Data Documentation

double PerformanceMeasurement::Panel::duration
private

Definition at line 100 of file performance_measurement.h.

QLineEdit* PerformanceMeasurement::Panel::durationEdit
private

Definition at line 112 of file performance_measurement.h.

double PerformanceMeasurement::Panel::jitter
private

Definition at line 107 of file performance_measurement.h.

double PerformanceMeasurement::Panel::lastRead
private

Definition at line 101 of file performance_measurement.h.

double PerformanceMeasurement::Panel::latency
private

Definition at line 103 of file performance_measurement.h.

RunningStat PerformanceMeasurement::Panel::latencyStat
private

Definition at line 110 of file performance_measurement.h.

double PerformanceMeasurement::Panel::maxDuration
private

Definition at line 104 of file performance_measurement.h.

QLineEdit* PerformanceMeasurement::Panel::maxDurationEdit
private

Definition at line 114 of file performance_measurement.h.

double PerformanceMeasurement::Panel::maxLatency
private

Definition at line 106 of file performance_measurement.h.

double PerformanceMeasurement::Panel::maxTimestep
private

Definition at line 105 of file performance_measurement.h.

QLineEdit* PerformanceMeasurement::Panel::maxTimestepEdit
private

Definition at line 115 of file performance_measurement.h.

enum { ... } PerformanceMeasurement::Panel::state
double PerformanceMeasurement::Panel::timestep
private

Definition at line 102 of file performance_measurement.h.

QLineEdit* PerformanceMeasurement::Panel::timestepEdit
private

Definition at line 113 of file performance_measurement.h.

QLineEdit* PerformanceMeasurement::Panel::timestepJitterEdit
private

Definition at line 116 of file performance_measurement.h.

RunningStat PerformanceMeasurement::Panel::timestepStat
private

Definition at line 109 of file performance_measurement.h.


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