Lines Matching defs:total
465 * For total utilization, add pset time to zone that
883 * add byte counts to link total
951 * to link/system total. We may be under reporting
1046 /* add to link total */
1154 zs_ts_used_scale(timestruc_t *total, timestruc_t *used, uint64_t scale,
1160 if (total->tv_sec == 0 && total->tv_nsec == 0)
1163 dtotal = (double)total->tv_sec +
1164 ((double)total->tv_nsec / (double)NANOSEC);
1177 * Convert total and used time into percent used.
1180 zs_ts_used_pct(timestruc_t *total, timestruc_t *used, boolean_t cap_at_100)
1184 res = (uint_t)zs_ts_used_scale(total, used, ZSD_PCT_INT, cap_at_100);
1189 * Convert total and used time, plus number of cpus, into number of cpus
1193 zs_ts_used_cpus(timestruc_t *total, timestruc_t *used, uint_t ncpus,
1196 return (zs_ts_used_scale(total, used, ncpus * ZSD_ONE_CPU, cap_at_100));
1267 zs_uint64_used_scale(uint64_t total, uint64_t used, uint64_t scale,
1273 if (total == 0)
1276 dtotal = (double)total;
1288 * Convert a total and used value into a percent used.
1291 zs_uint64_used_pct(uint64_t total, uint64_t used, boolean_t cap_at_100)
1295 res = (uint_t)zs_uint64_used_scale(total, used, ZSD_PCT_INT,
1597 * Return the fraction of total shares for a pset allocated to the zone.
1633 double total;
1655 total = (double)time.tv_sec +
1657 total = total * (sharefactor / ZSD_PCT_DOUBLE);
1661 pct = used / total * ZSD_PCT_DOUBLE;
2840 * sres and sold - point same struct that is running total of previous
2989 * Add cpus. The total report will divide this by the
3265 * networking total needs to be normalized
3365 * networking total needs to be normalized
3393 * networking total needs to be normalized
3572 * Get total available resource on system
3928 * Get used resource as a percent of total resource.
4269 * Get total time available for a resource
4298 * Get total time used for a resource
4343 * Get total resource time used for a particular zone
4965 * Get total time used for pset