This class keeps an identification of the worker application useful for the driver class
This class keeps an identification of the worker application useful for the driver class. It also keeps statistical information that is useful to the stats class. This information will be used at the end of a run.
Note that this Arch is different from arch. This one is
what condor claims its arch is to the outside world.
virtual ~MWWorkerID()
int get_id1()
int get_id2()
int get_vid()
void set_id1( int i )
void set_id2( int i )
void set_machine_name( char * )
void get_machine_info()
char* machine_name()
void set_arch( int a )
int get_arch()
void set_exec_class( int num )
int get_exec_class( )
void set_executable( char *exec )
char* get_executable( )
void mark_for_removal()
int is_doomed()
void set_bench_result( double bres )
double get_bench_result()
double getNetworkConnectivity( double &t )
MWTask* runningtask
enum MWworker_states currentState
void setState( MWworker_states st )
virtual void printself( int level = 40 )
Statistics Collection Calls
bool isIdle()
bool isSusp()
void started()
void benchmark()
void benchmarkOver()
void gottask( int tasknum )
void completedtask( double wall_time = 0.0, double cpu_time = 0.0 )
void suspended()
void resumed()
void ended()
Checkpointing Call
void ckpt_stats( double *up, double *working, double *susp, double *cpu, double *norm, double* s_bench, int* n_bench )
Worker Information
char Arch[64]
char OpSys[64]
double CondorLoadAvg
double LoadAvg
int Memory
int Cpus
int VirtualMemory
int Disk
int KFlops
Private Data...
char mach_name[64]
int id1
int id2
int virtual_id
int arch
int exec_class
char* executable_name
int doomed
double bench_result
enum MWworker_states state
Time information
double start_time
double total_time
double last_event
double total_suspended
double total_working
double cpu_while_working
double benchmarked_cpu_working_time
double normalized_cpu_working_time
double sum_benchmark
int num_benchmark
double timeval_to_double( struct timeval t )
Virtual Id Helpers
A Special Printf
void lprintf( int vid, double now, char *fmt, ... )
double networkLatency
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de