pacemaker  2.1.0-7c3f660
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 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 429 of file pcmk_sched_utilization.c.

Function Documentation

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

Definition at line 128 of file pcmk_sched_utilization.c.

int compare_capacity ( const pe_node_t node1,
const pe_node_t node2 
)

Definition at line 87 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 346 of file pcmk_sched_utilization.c.