Go to the source code of this file.
Functions | |
| int | cond_users () |
| int | cond_idle () |
| int | check_conds (struct pmm_routine *r) |
| int check_conds | ( | struct pmm_routine * | r | ) |
check if conditions for execution of a routine are satisfied and set executable parameter of routine accordingly
| r | pointer to the routine |
Definition at line 170 of file pmm_cond.c.
| int cond_idle | ( | ) |
test system for idleness
true if 5 minute load is below 0.1
return 0 if not idle, 1 if idle
Definition at line 143 of file pmm_cond.c.
| int cond_users | ( | ) |
Definition at line 128 of file pmm_cond.c.
1.8.1.2