getDefaultTimeBase
TimeConverter* getDefaultTimeBase();
const TimeConverter* getDefaultTimeBase() const;
Parameters
- returns A TimeConverter* representing the default time base
Example
// Configure a link connected to a port named 'port'
SST::Link* link = configureLink("port", new Event::Handler2<example,&example::handleEvent>(this));
TimeConverter* tc = link->getDefaultTimeBase();
Output* out = getSimulationOutput();
out->output("The link connected to 'port' has a default time base of %s\n", tc->getPeriod().toStringBestSI().c_str());
Header
#include <sst/core/link.h>