![]() |
Auryn simulator
v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
|
Monitor class to record the system time in every timestep. More...
#include <RealTimeMonitor.h>


Public Member Functions | |
| RealTimeMonitor (std::string filename, AurynDouble start=1e-3, AurynDouble stop=100) | |
| virtual | ~RealTimeMonitor () |
| void | execute () |
Additional Inherited Members | |
Protected Member Functions inherited from auryn::Monitor | |
| virtual void | open_output_file (std::string filename) |
| virtual void | virtual_serialize (boost::archive::binary_oarchive &ar, const unsigned int version) |
| virtual void | virtual_serialize (boost::archive::binary_iarchive &ar, const unsigned int version) |
| virtual void | flush () |
| Flush to file. More... | |
| Monitor (std::string filename, std::string default_extension="dat") | |
| Standard constructor with file name. More... | |
| Monitor () | |
| Constructor which does not open a text file for output. More... | |
| std::string | generate_filename (std::string name_hint="") |
| Generates a default filename from the device ID. More... | |
| virtual | ~Monitor () |
| Standard destructor. More... | |
Protected Member Functions inherited from auryn::Device | |
| void | init () |
| Standard initializer to be called by the constructor. More... | |
| Device () | |
| Standard constructor. More... | |
| void | set_name (std::string s) |
| Set device name. More... | |
| std::string | get_name () |
| Get device name. More... | |
| int | get_id () |
| Get numeric device id. More... | |
| virtual | ~Device () |
| Standard destructor. More... | |
| virtual void | evolve () |
Protected Attributes inherited from auryn::Monitor | |
| std::ofstream | outfile |
| std::string | fname |
| std::string | default_file_extension |
| bool | active |
| Standard active switch. More... | |
Protected Attributes inherited from auryn::Device | |
| std::string | device_name |
| Identifying name for device. More... | |
| bool | active |
| Standard active switch. More... | |
Monitor class to record the system time in every timestep.
The RealTimeMonitor records every timestep RealTime (boost us clock) vs AurynTime
| RealTimeMonitor::RealTimeMonitor | ( | std::string | filename, |
| AurynDouble | start = 1e-3, |
||
| AurynDouble | stop = 100 |
||
| ) |
Default Constructor

|
virtual |
Implementation of necessary execute() function.
Reimplemented from auryn::Device.

1.8.13