Class for creating and managing TimeConverter objects. More...
#include <timeLord.h>
Public Member Functions | |
TimeConverter * | getTimeConverter (std::string ts) |
Create a new TimeConverter object using specified SI Units. | |
SimTime_t | getSimCycles (std::string timeString, std::string where) |
TimeConverter * | getNano () |
TimeConverter * | getMicro () |
TimeConverter * | getMilli () |
Time_t | getSecFactor () |
Friends | |
class | SST::SimulationBase |
class | boost::serialization::access |
int | Simulation::WireUp (Graph &graph, SDL_CompMap_t &sdlMap, int minPart, int myRank) |
Class for creating and managing TimeConverter objects.
TimeConverter * SST::TimeLord::getTimeConverter | ( | std::string | ts | ) |
Create a new TimeConverter object using specified SI Units.
For example, "1 Ghz" (1 Gigahertz), "2.5 ns" (2.5 nanoseconds).
ts | String indicating the base unit for this object. The string should be a floating point number followed by a prefix, and then frequency (i.e. Hz) or time unit (s). Allowable seconds prefixes are: 'f' (fempto), 'p' (pico), 'n' (nano), 'u' (micro), 'm' (milli). Allowable frequency prefixes are 'k' (kilo), 'M' (mega), and 'G' (giga). |