Open Ephys GUI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions
CPUMeter Class Reference

Displays the CPU load used up by the data processing callbacks. More...

#include <ControlPanel.h>

List of all members.

Public Member Functions

 CPUMeter ()
 ~CPUMeter ()
void updateCPU (float usage)
 Updates the load level displayed by the CPUMeter.
void paint (Graphics &g)
 Draws the CPUMeter.

Detailed Description

Displays the CPU load used up by the data processing callbacks.

The CPUMeter is located in the ControlPanel. Whenever acquisition is active, it uses a built-in JUCE method to display the CPU load required to run the ProcessorGraph.

It's not clear how accurate the meter is, nor how it deals with CPUs using multiple cores.

For a more accurate measurement of CPU load, it's recommended to use a graphical interface or type 'top' inside a terminal.

See also:
ControlPanel

Constructor & Destructor Documentation

CPUMeter::CPUMeter ( )
CPUMeter::~CPUMeter ( )

Member Function Documentation

void CPUMeter::updateCPU ( float  usage)

Updates the load level displayed by the CPUMeter.

Called by the ControlPanel.

void CPUMeter::paint ( Graphics &  g)

Draws the CPUMeter.


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