pacemaker  2.0.2-debe490
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcmk_sched_utilization.c File Reference
#include <crm_internal.h>
#include <crm/msg_xml.h>
#include <pacemaker-internal.h>
#include <lib/pengine/variant.h>
Include dependency graph for pcmk_sched_utilization.c:

Go to the source code of this file.

Macros

#define VARIANT_GROUP   1
 

Functions

int compare_capacity (const node_t *node1, const node_t *node2)
 
void calculate_utilization (GHashTable *current_utilization, GHashTable *utilization, gboolean plus)
 
void process_utilization (resource_t *rsc, node_t **prefer, pe_working_set_t *data_set)
 

Macro Definition Documentation

#define VARIANT_GROUP   1

Definition at line 412 of file pcmk_sched_utilization.c.

Function Documentation

void calculate_utilization ( GHashTable *  current_utilization,
GHashTable *  utilization,
gboolean  plus 
)

Definition at line 111 of file pcmk_sched_utilization.c.

int compare_capacity ( const node_t node1,
const node_t node2 
)

Definition at line 70 of file pcmk_sched_utilization.c.

void process_utilization ( resource_t rsc,
node_t **  prefer,
pe_working_set_t data_set 
)

Definition at line 328 of file pcmk_sched_utilization.c.