Home
last modified time | relevance | path

Searched refs:measure_device (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/intel/vulkan/
Danv_measure.c68 struct intel_measure_device *measure_device = &device->measure_device; in anv_measure_device_init() local
69 intel_measure_init(measure_device); in anv_measure_device_init()
70 struct intel_measure_config *config = measure_device->config; in anv_measure_device_init()
84 measure_device->ringbuffer = rb; in anv_measure_device_init()
90 return cmd_buffer->device->physical->measure_device.config; in config_from_command_buffer()
137 struct intel_measure_device *measure_device = &device->measure_device; in anv_measure_start_snapshot() local
139 const unsigned device_frame = measure_device->frame; in anv_measure_start_snapshot()
325 intel_measure_gather(&device->physical->measure_device, in anv_measure_reset()
353 intel_measure_gather(&physical->measure_device, &physical->info); in anv_measure_destroy()
363 return device->physical->measure_device.config; in config_from_device()
[all …]
Danv_measure.h59 if (unlikely(device->physical->measure_device.config)) \
Danv_private.h1070 struct intel_measure_device measure_device; member
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_measure.c51 struct intel_measure_device *measure_device = &screen->measure; in iris_init_screen_measure() local
53 memset(measure_device, 0, sizeof(*measure_device)); in iris_init_screen_measure()
54 intel_measure_init(measure_device); in iris_init_screen_measure()
55 measure_device->release_batch = &measure_batch_free; in iris_init_screen_measure()
56 struct intel_measure_config *config = measure_device->config; in iris_init_screen_measure()
67 measure_device->ringbuffer = rb; in iris_init_screen_measure()
88 struct intel_measure_device *measure_device = &screen->measure; in iris_destroy_screen_measure() local
90 if (measure_device->config->file && in iris_destroy_screen_measure()
91 measure_device->config->file != stderr) in iris_destroy_screen_measure()
94 ralloc_free(measure_device->ringbuffer); in iris_destroy_screen_measure()
[all …]
/third_party/mesa3d/src/intel/common/
Dintel_measure.c569 print_combined_results(struct intel_measure_device *measure_device, in print_combined_results() argument
576 struct intel_measure_ringbuffer *result_rb = measure_device->ringbuffer; in print_combined_results()
637 intel_measure_gather(struct intel_measure_device *measure_device, in intel_measure_gather() argument
640 pthread_mutex_lock(&measure_device->mutex); in intel_measure_gather()
646 while (!list_is_empty(&measure_device->queued_snapshots)) { in intel_measure_gather()
648 list_first_entry(&measure_device->queued_snapshots, in intel_measure_gather()
661 intel_measure_push_result(measure_device, batch); in intel_measure_gather()
665 if (measure_device->release_batch) in intel_measure_gather()
666 measure_device->release_batch(batch); in intel_measure_gather()
669 intel_measure_print(measure_device, info); in intel_measure_gather()
[all …]