pacemaker  2.0.4-2deceaa
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.


#define VARIANT_GROUP   1


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

Macro Definition Documentation

#define VARIANT_GROUP   1

Definition at line 414 of file pcmk_sched_utilization.c.

Function Documentation

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

Definition at line 113 of file pcmk_sched_utilization.c.

int compare_capacity ( const pe_node_t node1,
const pe_node_t node2 

Definition at line 72 of file pcmk_sched_utilization.c.

void process_utilization ( pe_resource_t rsc,
pe_node_t **  prefer,
pe_working_set_t data_set 

Definition at line 331 of file pcmk_sched_utilization.c.