|
| MPITrans (MPI_Comm comm) |
| Construct from MPI_Bcast.
|
|
void | send_data (BitSeries *data, int dest) |
| Send the next block using MPI_Isend.
|
|
void | load_data (BitSeries *data) |
| Load the next block using MPI_Irecv.
|
|
void | load_data () |
| when mpi_rank == mpi_root, load data from input
|
|
int | next_destination () |
| Returns the rank of the next node ready to receive data.
|
|
void | request_data () |
| request data from the root
|
|
void | request_ready (int node) |
| request ready-for-data from a specific node
|
|
void | shutdown () |
| Shutdown any remaining requests.
|
|
| MPIRoot (MPI_Comm comm) |
| Construct from MPI_Bcast.
|
|
virtual | ~MPIRoot () |
| Destructor.
|
|
int | get_size () const |
| Get the number of nodes in communicator.
|
|
int | get_rank () const |
| Get the rank of this process within the communicator.
|
|
int | get_root () const |
| Get the rank of process sending data.
|
|
void | set_root (int root) |
| Set the rank of process sending data.
|
|
int | get_tag () const |
| Get the tag used for all communication.
|
|
void | set_tag (int tag) |
| Set the tag used for all communication.
|
|
void | set_block_size (uint64_t _size) |
| Setting the block_size requires resizing the buffer.
|
|
void | prepare () |
| Prepare for sending or receiving from root node. More...
|
|
bool | eod () |
| End of data.
|
|
void | set_Input (Input *input) |
| Set the source from which input data will be read.
|
|
void | serve (BitSeries *bitseries=0) |
| Serve the data from Input.
|
|
void | set_resolution (unsigned resolution) |
| Provide access to resolution attribute (required in mpiUnpack)
|
|
| Input (const char *name) |
| Constructor.
|
|
virtual | ~Input () |
| Destructor.
|
|
virtual const Input * | get_origin () const |
| The origin of the data may be re-implemented by wrappers like SerialFiles.
|
|
virtual void | copy (const Input *input) |
| Copies the behaviour and information attributes (not data) More...
|
|
void | reserve () |
| Reserve the maximum amount of output space required.
|
|
void | reserve (BitSeries *) |
| Reserve the maximum amount of space required in the given container.
|
|
virtual bool | eod () const =0 |
| End of data.
|
|
virtual void | restart () |
| Return to the start of data, if possible.
|
|
void | load (BitSeries *data) |
| Load BitSeries data. More...
|
|
virtual void | set_output (BitSeries *data) |
| Set the BitSeries to which data will be loaded.
|
|
virtual BitSeries * | get_output () |
| Retrieve a pointer to the output. More...
|
|
virtual bool | has_output () const |
| Return true if output is set.
|
|
virtual void | seek (int64_t offset, int whence=0) |
| Seek to the specified time sample. More...
|
|
uint64_t | tell () const |
| Return the first time sample to be read on the next call to operate.
|
|
virtual void | seek (const MJD &mjd) |
| Seek to a sample close to the specified MJD.
|
|
virtual uint64_t | get_block_size () const |
| Return the number of time samples to load on each load_block.
|
|
virtual uint64_t | get_overlap () const |
| Return the number of time samples by which consecutive blocks overlap.
|
|
virtual void | set_overlap (uint64_t _overlap) |
| Set the number of time samples by which consecutive blocks overlap.
|
|
virtual uint64_t | get_stride () const |
| Convenience function for returning block_size-overlap.
|
|
virtual uint64_t | get_total_samples () const |
| Return the total number of time samples available.
|
|
void | set_total_samples (uint64_t s) |
| Set the total number of time samples available. More...
|
|
| operator const Observation * () const |
| Get the information about the data source.
|
|
virtual Observation * | get_info () |
| Get the information about the data source.
|
|
virtual const Observation * | get_info () const |
| Get the information about the data source.
|
|
uint64_t | get_load_sample () const |
| Get the next time sample to be loaded.
|
|
uint64_t | get_load_size () const |
| Get the number of samples to be loaded.
|
|
unsigned | get_resolution () const |
| Get the time sample resolution of the data source.
|
|
void | set_resolution (unsigned res) |
| Set the time sample resolution of the data source (use with care)
|
|
void | seek_seconds (double seconds, int whence=0) |
| Convenience method used to seek in units of seconds.
|
|
double | tell_seconds () const |
| Convenience method used to report the offset in seconds.
|
|
void | set_start_seconds (double seconds) |
| Set the start of observation offset in units of seconds.
|
|
void | set_total_seconds (double seconds) |
| Convenience method used to set the number of seconds.
|
|
void | set_context (ThreadContext *context) |
| In multi-threaded programs, a mutual exclusion and a condition.
|
|
bool | has_context () const |
| Return true if the thread context has been set.
|
|
virtual std::string | get_prefix () const |
| Input derived types may specify a prefix to be added to output files.
|
|
| Operation (const char *name) |
| All sub-classes must specify a unique name. More...
|
|
| Operation (const Operation &) |
| Copy constructor.
|
|
virtual | ~Operation () |
| Virtual destructor.
|
|
virtual bool | operate () |
| Call this method to operate on data Returns false on failure. More...
|
|
virtual void | add_extensions (Extensions *) |
| Add any extensions.
|
|
virtual void | combine (const Operation *) |
| Combine accumulated results with another operation. More...
|
|
virtual void | report () const |
| Report operation statistics.
|
|
virtual void | reset () |
| Reset accumulated results to intial values. More...
|
|
std::string | get_name () const |
| Return the unique name of this operation.
|
|
double | get_total_time () const |
| Return the total time spent on this Operation in seconds.
|
|
double | get_elapsed_time () const |
| Get the time spent in the last invocation of operate()
|
|
virtual uint64_t | get_total_weights () const |
| Return the total number of timesample weights encountered. More...
|
|
virtual uint64_t | get_discarded_weights () const |
| Return the number of invalid timesample weights encountered.
|
|
int | get_id () |
| Inquire the unique instantiation id.
|
|
virtual Function | get_function () const |
| Get the function classification of this operation.
|
|
virtual double | get_delay_time () const |
| Get the time delay of this operation, if any, in seconds.
|
|
virtual void | set_scratch (Scratch *) |
| Set the scratch space.
|
|
bool | scratch_was_set () const |
|
virtual uint64_t | bytes_storage () const |
| The number of bytes of additional storage used by the operation.
|
|
virtual uint64_t | bytes_scratch () const |
| The number of bytes of scratch space used by the operation. More...
|
|
| OwnStream (const OwnStream &) |
|
const OwnStream & | operator= (const OwnStream &) |
|
virtual void | set_cout (std::ostream &) const |
|
virtual void | set_cerr (std::ostream &) const |
|
| Able (const Able &) |
|
Able & | operator= (const Able &) |
|
unsigned | get_reference_count () const |
|
| HeapTracked (const HeapTracked &) |
|
HeapTracked & | operator= (const HeapTracked &) |
|
bool | __is_on_heap () const |
|