iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::BlackboardUsageData Struct Reference

#include <nrt/Core/Blackboard/BlackboardUsageData.H>

A data sent at regular intervals by each Blackboard to report on CPU, callback, etc usage.

Definition at line 45 of file BlackboardUsageData.H.

Public Member Functions

 BlackboardUsageData (bool populate=false)
 Constructor (populates all the data if desired)
 
std::string const str () const
 Print our data to stream, mostly for debugging.
 
template<class Archive >
void serialize (Archive &ar)
 Serialization.
 

Public Attributes

int numActiveCallbacks
 The number of currently active callbacks.
 
long uptime
 Seconds since boot.
 
double loadavg [3]
 1, 5, and 15 minute load averages
 
unsigned long totalram
 Total usable main memory size.
 
unsigned long freeram
 Available memory size.
 
unsigned long sharedram
 Amount of shared memory.
 
unsigned long bufferram
 Memory used by buffers.
 
unsigned long totalswap
 Total swap space size.
 
unsigned long freeswap
 swap space still available
 
unsigned short procs
 Number of current processes.
 
unsigned long totalhigh
 Total high memory size.
 
unsigned long freehigh
 Available high memory size.
 
unsigned int mem_unit
 Memory unit size in bytes.
 

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