SST/macro
Namespaces | Classes | Typedefs | Functions
sstmac Namespace Reference

SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i.e. More...

Namespaces

 ami
 
 hw
 
 mpi
 
 native
 
 sw
 
 tutorial
 

Classes

class  block_partition
 
class  callback
 
class  connectable_proxy_component
 
class  connection_details
 
class  deadlock_check
 
class  deadlock_check_impl
 
class  env
 This class holds some global information about the simulation. More...
 
class  event
 
class  event_handler
 The main interface for something that can respond to an event (sst_message). More...
 
struct  event_loc_id
 
class  event_manager
 Base type for implementations of an engine that is able to schedule events and advance simulation time in the right order. More...
 
class  event_queue_entry
 
class  event_scheduler
 The interface for something that can schedule messages. More...
 
class  event_subscheduler
 
class  event_trace
 
class  flow
 
struct  gens
 
struct  gens< 0, S... >
 
class  handler_event_queue_entry
 
class  integrated_connectable_wrapper
 
class  library_interface
 The library_interface class provides a castable type that stores a library id (std::string) for mapping events to the correct library in sstmac::sw::operating_system. More...
 
class  location_trace
 
class  lockable
 
class  logger
 Base class of things which track events in the simulation, and output in different ways. More...
 
class  member_fxn_callback
 
class  member_fxn_handler
 
class  member_fxn_handler_impl
 
class  message
 A class describing an event. More...
 
class  message_buffer_cache
 
class  metis_partition
 
class  mutex_thread_lock
 
class  occupied_block_partition
 
class  pair_payload
 Network payload consisting of a value with sensible copy semantics. More...
 
class  pairpayloadvector
 Network payload consisting of a value with sensible copy semantics. More...
 
class  parallel_runtime
 
class  param_expander
 
class  partition
 Class for storing all the partitions given to us by METIS. More...
 
class  runtime
 
struct  seq
 
class  serial_partition
 
class  sim_thread_lock
 
class  Simulation
 
class  SimulationQueue
 
class  sleep_event
 
class  SSTIntegratedComponent
 
class  stat_collector
 A type of logger that collects some kind of statistic and outputs to a file during or at the end of a simulation. More...
 
class  stat_global_int
 
class  stat_histogram
 
class  stat_local_double
 
class  stat_local_int
 
class  stat_spyplot
 this stat_collector class keeps a spy plot More...
 
class  stat_spyplot_png
 this stat_collector class keeps a spy plot, and outputs it as a png More...
 
class  stat_time_histogram
 
class  sumi_api
 
class  sumi_queue
 
class  sumi_server
 
class  sumi_thread
 
class  thread_info
 
class  thread_safe_int_base
 
class  thread_safe_int_t
 
class  timed_interface
 
class  timestamp
 A basic container for time (subject to future transplant). More...
 
class  topology_partition
 
class  transport_message
 
class  vector1_payload
 Network payload consisting of a boost multiarray. More...
 

Typedefs

typedef uint32_t endpoint_id
 
typedef endpoint_id node_id
 
typedef int32_t topology_id
 
typedef topology_id switch_id
 
typedef endpoint_id netlink_id
 
typedef mutex_thread_lock thread_lock
 
typedef thread_safe_int_t< int > thread_safe_int
 
typedef thread_safe_int_t< long > thread_safe_long
 
typedef thread_safe_int_t< long long > thread_safe_long_long
 
typedef thread_safe_int_t< size_t > thread_safe_size_t
 
typedef int pipe_t[2]
 

Functions

 DeclareFactory (parallel_runtime)
 
 DeclareFactory1InitParam (partition, parallel_runtime *)
 
template<class Cls , typename Fxn , class... Args>
event_handlernew_handler (Cls *cls, Fxn fxn, const Args &...args)
 
template<class Cls , typename Fxn , class... Args>
callbacknew_callback (Cls *cls, Fxn fxn, const Args &...args)
 
template<class Cls , typename Fxn , class... Args>
callbacknew_callback (event_loc_id id, Cls *cls, Fxn fxn, const Args &...args)
 
bool operator== (const event_loc_id &a, const event_loc_id &b)
 
bool operator!= (const event_loc_id &a, const event_loc_id &b)
 
bool operator< (const event_loc_id &a, const event_loc_id &b)
 
std::ostream & operator<< (std::ostream &os, const event_loc_id &loc)
 
 DeclareFactory (event_manager, parallel_runtime *)
 
 DeclareFactory (param_expander)
 
template<class T , class Fxn >
deadlock_checknew_deadlock_check (T *t, Fxn f)
 
template<class T >
T * optional_stats (sprockit::sim_parameters *params, const std::string &ns, const std::string &deflt, const char *suffix=0)
 
 DeclareFactory (stat_collector)
 
timestamp operator+ (const timestamp &a, const timestamp &b)
 
timestamp operator- (const timestamp &a, const timestamp &b)
 
timestamp operator* (const timestamp &t, double scaling)
 
timestamp operator* (double scaling, const timestamp &t)
 
timestamp operator/ (const timestamp &t, double scaling)
 
std::ostream & operator<< (std::ostream &os, const timestamp &t)
 
std::string to_printf_type (timestamp t)
 
parallel_runtimeinit ()
 
void finalize (parallel_runtime *rt)
 
void init_opts (opts &oo, int argc, char **argv)
 
void init_params (parallel_runtime *rt, opts &oo, sprockit::sim_parameters *params, bool parallel)
 
void remap_deprecated_params (sprockit::sim_parameters *params)
 
void remap_params (sprockit::sim_parameters *params, bool verbose=true)
 
void run (opts &oo, sstmac::parallel_runtime *rt, sprockit::sim_parameters *params, sim_stats &stats)
 
void try_main (sprockit::sim_parameters *params, int argc, char **argv, bool params_only=false)
 
void run_params (parallel_runtime *rt, sprockit::sim_parameters *params, sim_stats &stats)
 
void init_first_run (parallel_runtime *rt, sprockit::sim_parameters *params)
 
void parse_port_name (const std::string &port_name, connection_details *dets)
 
sprockit::sim_parameters * make_sim_params_from_params (const SST::Params &map)
 
template<typename Mapping >
sprockit::sim_parameters * make_sim_params_from_mapping (Mapping &&map)
 

Detailed Description

SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i.e.

"Fixed time quanta" collection of the amount of work done in particular time intervals over the course of the computation

the substrate for sending messages!

Typedef Documentation

typedef uint32_t sstmac::endpoint_id

Definition at line 19 of file node_address.h.

Definition at line 25 of file node_address.h.

Definition at line 20 of file node_address.h.

typedef int sstmac::pipe_t[2]

Definition at line 18 of file driver.h.

Definition at line 23 of file node_address.h.

Definition at line 66 of file thread_lock.h.

Definition at line 59 of file thread_safe_int.h.

Definition at line 60 of file thread_safe_int.h.

Definition at line 61 of file thread_safe_int.h.

Definition at line 62 of file thread_safe_int.h.

typedef int32_t sstmac::topology_id

Definition at line 22 of file node_address.h.

Function Documentation

sstmac::DeclareFactory ( param_expander  )
sstmac::DeclareFactory ( stat_collector  )
sstmac::DeclareFactory ( parallel_runtime  )
sstmac::DeclareFactory ( event_manager  ,
parallel_runtime  
)
sstmac::DeclareFactory1InitParam ( partition  ,
parallel_runtime  
)
void sstmac::finalize ( parallel_runtime rt)

Referenced by sim_stats::sim_stats().

parallel_runtime* sstmac::init ( )
void sstmac::init_first_run ( parallel_runtime rt,
sprockit::sim_parameters *  params 
)

Referenced by sim_stats::sim_stats().

void sstmac::init_opts ( opts oo,
int  argc,
char **  argv 
)

Referenced by sim_stats::sim_stats().

void sstmac::init_params ( parallel_runtime rt,
opts oo,
sprockit::sim_parameters *  params,
bool  parallel 
)

Referenced by sim_stats::sim_stats().

template<typename Mapping >
sprockit::sim_parameters* sstmac::make_sim_params_from_mapping ( Mapping &&  map)

Definition at line 35 of file integrated_core.h.

sprockit::sim_parameters* sstmac::make_sim_params_from_params ( const SST::Params &  map)
inline

Definition at line 20 of file integrated_core.h.

template<class Cls , typename Fxn , class... Args>
callback* sstmac::new_callback ( Cls *  cls,
Fxn  fxn,
const Args &...  args 
)

Definition at line 158 of file event_callback.h.

template<class Cls , typename Fxn , class... Args>
callback* sstmac::new_callback ( event_loc_id  id,
Cls *  cls,
Fxn  fxn,
const Args &...  args 
)

Definition at line 166 of file event_callback.h.

template<class T , class Fxn >
deadlock_check* sstmac::new_deadlock_check ( T *  t,
Fxn  f 
)

Definition at line 42 of file runtime.h.

template<class Cls , typename Fxn , class... Args>
event_handler* sstmac::new_handler ( Cls *  cls,
Fxn  fxn,
const Args &...  args 
)

Definition at line 110 of file event_callback.h.

bool sstmac::operator!= ( const event_loc_id a,
const event_loc_id b 
)
inline

Definition at line 91 of file event_location.h.

References sstmac::event_loc_id::location.

timestamp sstmac::operator* ( const timestamp t,
double  scaling 
)
timestamp sstmac::operator* ( double  scaling,
const timestamp t 
)
timestamp sstmac::operator+ ( const timestamp a,
const timestamp b 
)
timestamp sstmac::operator- ( const timestamp a,
const timestamp b 
)
timestamp sstmac::operator/ ( const timestamp t,
double  scaling 
)
bool sstmac::operator< ( const event_loc_id a,
const event_loc_id b 
)
inline

Definition at line 96 of file event_location.h.

References sstmac::event_loc_id::location.

std::ostream& sstmac::operator<< ( std::ostream &  os,
const event_loc_id loc 
)
inline
std::ostream& sstmac::operator<< ( std::ostream &  os,
const timestamp t 
)
bool sstmac::operator== ( const event_loc_id a,
const event_loc_id b 
)
inline

Definition at line 86 of file event_location.h.

References sstmac::event_loc_id::location.

template<class T >
T* sstmac::optional_stats ( sprockit::sim_parameters *  params,
const std::string &  ns,
const std::string &  deflt,
const char *  suffix = 0 
)

Definition at line 138 of file stat_collector.h.

References DeclareFactory(), sstmac::stat_collector::optional_build(), and spkt_throw.

Here is the call graph for this function:

void sstmac::parse_port_name ( const std::string &  port_name,
connection_details dets 
)
void sstmac::remap_deprecated_params ( sprockit::sim_parameters *  params)

Referenced by sim_stats::sim_stats().

void sstmac::remap_params ( sprockit::sim_parameters *  params,
bool  verbose = true 
)

Referenced by sim_stats::sim_stats().

void sstmac::run ( opts oo,
sstmac::parallel_runtime rt,
sprockit::sim_parameters *  params,
sim_stats stats 
)
void sstmac::run_params ( parallel_runtime rt,
sprockit::sim_parameters *  params,
sim_stats stats 
)

Referenced by sim_stats::sim_stats().

std::string sstmac::to_printf_type ( timestamp  t)
void sstmac::try_main ( sprockit::sim_parameters *  params,
int  argc,
char **  argv,
bool  params_only = false 
)

Referenced by sim_stats::sim_stats().