SST/macro
|
#include <api.h>
Public Member Functions | |
api (const char *name, software_id sid, const key::category &ty) | |
virtual void | finalize_init () |
api (const char *name, software_id sid) | |
virtual | ~api () |
virtual void | init () |
virtual void | finalize () |
virtual void | init_os (operating_system *os) |
timestamp | now () const |
void | schedule (timestamp t, event_queue_entry *ev) |
void | schedule_delay (timestamp t, event_queue_entry *ev) |
virtual void | init_factory_params (sprockit::sim_parameters *params) |
virtual void | start_api_call () |
virtual void | end_api_call () |
Public Member Functions inherited from sstmac::sw::library | |
virtual void | unregister_all_libs () |
virtual std::string | to_string () const |
virtual std::string | lib_name () const |
virtual void | consume_params (sprockit::sim_parameters *params) |
virtual void | incoming_event (event *ev)=0 |
operating_system * | os () const |
software_id | sid () const |
virtual | ~library () |
Public Member Functions inherited from sprockit::factory_type | |
virtual void | init_factory_params (sim_parameters *params) |
Protected Attributes | |
bool | hostcompute_ |
Timer * | timer_ |
long | startcount_ |
long | endcount_ |
lib_compute_time * | compute_ |
Protected Attributes inherited from sstmac::sw::library | |
operating_system * | os_ |
key::category | key_cat_ |
software_id | sid_ |
Additional Inherited Members | |
Protected Member Functions inherited from sstmac::sw::library | |
library (const std::string &libname, software_id sid) | |
library (const char *prefix, software_id sid) | |
void | register_lib (library *lib) |
This function is provided so that libraries can instantiate, register, and use other libraries. More... | |
|
inline |
|
inline |
|
virtual |
|
inlinevirtual |
Reimplemented in sstmac::sumi_api, and sumi::sumi_transport.
|
inlinevirtual |
Reimplemented from sprockit::factory_type.
Reimplemented in sstmac::sw::blas_api, and sumi::sumi_transport.
|
inlinevirtual |
Reimplemented in sstmac::sumi_api, and sumi::sumi_transport.
|
virtual |
Reimplemented in sstmac::sumi_api, sstmac::sw::blas_api, and sumi::sumi_transport.
|
virtual |
Reimplemented from sstmac::sw::library.
Reimplemented in sstmac::sumi_api, and sstmac::sw::blas_api.
timestamp sstmac::sw::api::now | ( | ) | const |
void sstmac::sw::api::schedule | ( | timestamp | t, |
event_queue_entry * | ev | ||
) |
void sstmac::sw::api::schedule_delay | ( | timestamp | t, |
event_queue_entry * | ev | ||
) |
|
virtual |
|
protected |