#include <Rebalancer.h>
Public Member Functions | |
| ProxyUsageKey (int pe, int patch) | |
| CkHashCode | hash (void) const |
| int | compare (const ProxyUsageKey &in) const |
Static Public Member Functions | |
| CkHashCode | staticHash (const void *x, size_t size) |
| int | staticCompare (const void *a, const void *b, size_t size) |
Protected Attributes | |
| int | processor |
| int | patch |
|
||||||||||||
|
Definition at line 47 of file Rebalancer.h. 00047 {
00048 this->processor = pe;
00049 this->patch = patch;
00050 }
|
|
|
Definition at line 60 of file Rebalancer.h. References patch, and processor. 00060 {
00061 if ((in.patch == patch) && (in.processor == processor))
00062 return 1;
00063
00064 return 0;
00065 }
|
|
|
Definition at line 52 of file Rebalancer.h. 00052 {
00053 return (patch << 16) + processor;
00054 }
|
|
||||||||||||||||
|
Definition at line 67 of file Rebalancer.h. 00067 {
00068 return ((ProxyUsageKey *)a)->compare(* (ProxyUsageKey *)b);
00069 }
|
|
||||||||||||
|
Definition at line 56 of file Rebalancer.h. 00056 {
00057 return ((ProxyUsageKey *)x)->hash();
00058 }
|
|
|
Definition at line 44 of file Rebalancer.h. Referenced by compare(). |
|
|
Definition at line 43 of file Rebalancer.h. Referenced by compare(). |
1.3.9.1