Lines Matching refs:load
60 # HWLOAD_UNKNOWN - Value that we use to represent unknown hardware load
61 # HWLOAD_UNDEF - Value that we use to represent undefined hardware load
823 # Convert numeric load to formatted string
827 my $load = shift;
830 !defined($load) || $load == HWLOAD_UNDEF;
831 return (sprintf "$pcnt_fmt", '?') if $load == HWLOAD_UNKNOWN;
832 return (sprintf "$pcnt%%", $load);
838 # Get various hardware load data for the given PG using two snapshots.
841 # In scalar context returns the hardware load
843 # (load, utilization, capacity, accuracy)
866 my $load;
869 $load = HWLOAD_UNKNOWN;
871 $load = $capacity ?
878 ($load, $utilization, $capacity, $accuracy) :
879 $load);