SST/macro
Namespaces | Functions
units.h File Reference
#include <map>
#include <stdint.h>
Include dependency graph for units.h:

Go to the source code of this file.

Namespaces

 sprockit
 

Functions

int64_t sprockit::multiply64 (int64_t a, int64_t b, bool &errorflag)
 Multiply two 64 bit integer values and check for overflow. More...
 
void sprockit::populate_bandwidth_names (std::map< std::string, int64_t > &abbrname, std::map< std::string, int64_t > &fullname)
 
double sprockit::get_bandwidth (const char *value, bool &errorflag, bool print_errors=false)
 
double sprockit::get_bandwidth (const char *value)
 
double sprockit::get_frequency (const char *value, bool &errorflag, bool print_errors=false)
 
long sprockit::byte_length (const char *value, bool &errorflag, bool print_errors=false)
 
void sprockit::populate_timestamp_names (std::map< std::string, int64_t > &value)
 
void sprockit::populate_frequency_names (std::map< std::string, int64_t > &value)
 
double sprockit::get_timestamp (const char *value, bool &errorflag, bool print_errors=false)
 Get a timestamp possiblly suffixed with any of the identifiers psec, nsec, usec, msec, sec, ps, ns, us, ms, s. More...