class user_task : public MWTask

The definition of a task


Inheritance:


Public Methods

void printself( int level = 60 )
dump self to screen:
user_task( int foo, int bar )
Construct with parameters
user_task()
Default Constructor

Public

Checkpointing Implementation
void write_ckpt_info( FILE *fp )
Write state
void read_ckpt_info( FILE *fp )
Read state
Implemented methods
void pack_work( void )
Pack the work for this task into the PVM buffer
void unpack_work( void )
Unpack the work for this task from the PVM buffer
void pack_results( void )
Pack the results from this task into the PVM buffer
void unpack_results( void )
Unpack the results from this task into the PVM buffer

Inherited from MWTask:

Public Fields

int number

Public

Checkpointing Utilities

virtual void write_ckpt_info( FILE *fp )
Write the state of this task out to a FILE*
virtual void read_ckpt_info( FILE *fp )
Read the state of this task from a FILE* (overwriting any existing state

List management

MWWorkerID* worker
A pointer to the worker ID executing this task (NULL if none)
MWTask* next
A pointer to the next task in the list (NULL if none)

Packing and Unpacking

virtual void pack_work( void )
Pack the work portion of the task
virtual void unpack_work( void )
Unpack the work portion of the task
virtual void pack_results( void )
Pack the result portion of the task
virtual void unpack_results( void )
Unpack the result portion of the task
virtual void printself( int level = 60 )
Dump this task to the screen

Time and usage data

double working_time
The time (wall clock) that it takes to run the 'execute_task' function on the worker's side
double cpu_time
The amount of user+system time taken by this task, measured from start to finish of the 'execute_task' function

Documentation

The definition of a task...

user_task()
Default Constructor

user_task( int foo, int bar )
Construct with parameters

Implemented methods
These are the task methods that must be implemented in order to create an application.

void pack_work( void )
Pack the work for this task into the PVM buffer

void unpack_work( void )
Unpack the work for this task from the PVM buffer

void pack_results( void )
Pack the results from this task into the PVM buffer

void unpack_results( void )
Unpack the results from this task into the PVM buffer

void printself( int level = 60 )
dump self to screen:

Checkpointing Implementation
These members used when checkpointing.

void write_ckpt_info( FILE *fp )
Write state

void read_ckpt_info( FILE *fp )
Read state


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de