Searched refs:max_mem_usage (Results 1 – 3 of 3) sorted by relevance
223 util_throttle_init(struct util_throttle *t, uint64_t max_mem_usage) in util_throttle_init() argument225 t->max_mem_usage = max_mem_usage; in util_throttle_init()275 if (!t->max_mem_usage) in util_throttle_memory_usage()287 total && total + memory_size > t->max_mem_usage) { in util_throttle_memory_usage()312 t->max_mem_usage / (ring_size / 2)) { in util_throttle_memory_usage()
97 uint64_t max_mem_usage; member100 void util_throttle_init(struct util_throttle *t, uint64_t max_mem_usage);
139 auto max_mem_usage = &max_mem_usage_[id]; in Ensure() local143 DCHECK_EQ(max_mem_usage->output_port_mem.size(), perslot->size()); in Ensure()144 DCHECK_EQ(max_mem_usage->output_port_shape.size(), perslot->size()); in Ensure()145 DCHECK_EQ(max_mem_usage->output_port_type.size(), perslot->size()); in Ensure()149 max_mem_usage->output_port_mem.resize(num_outputs, Bytes(-1)); in Ensure()150 max_mem_usage->output_port_shape.resize(num_outputs, unknown_shape_); in Ensure()151 max_mem_usage->output_port_type.resize(num_outputs, DT_INVALID); in Ensure()