Home
last modified time | relevance | path

Searched refs:measure_device (Results 1 – 4 of 4) 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()
317 intel_measure_gather(&device->physical->measure_device, in anv_measure_reset()
355 intel_measure_gather(&physical->measure_device, &physical->info); in anv_measure_destroy()
365 return device->physical->measure_device.config; in config_from_device()
[all …]
Danv_private.h966 struct intel_measure_device measure_device; member
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_measure.c37 struct intel_measure_device *measure_device = &screen->measure; in iris_init_screen_measure() local
39 memset(measure_device, 0, sizeof(*measure_device)); in iris_init_screen_measure()
40 intel_measure_init(measure_device); in iris_init_screen_measure()
41 struct intel_measure_config *config = measure_device->config; in iris_init_screen_measure()
52 measure_device->ringbuffer = rb; in iris_init_screen_measure()
73 struct intel_measure_device *measure_device = &screen->measure; in iris_destroy_screen_measure() local
75 if (measure_device->config->file && in iris_destroy_screen_measure()
76 measure_device->config->file != stderr) in iris_destroy_screen_measure()
79 ralloc_free(measure_device->ringbuffer); in iris_destroy_screen_measure()
80 measure_device->ringbuffer = NULL; in iris_destroy_screen_measure()
[all …]
/third_party/mesa3d/src/intel/common/
Dintel_measure.c564 print_combined_results(struct intel_measure_device *measure_device, in print_combined_results() argument
571 struct intel_measure_ringbuffer *result_rb = measure_device->ringbuffer; in print_combined_results()
628 intel_measure_gather(struct intel_measure_device *measure_device, in intel_measure_gather() argument
631 pthread_mutex_lock(&measure_device->mutex); in intel_measure_gather()
637 while (!list_is_empty(&measure_device->queued_snapshots)) { in intel_measure_gather()
639 list_first_entry(&measure_device->queued_snapshots, in intel_measure_gather()
652 intel_measure_push_result(measure_device, batch); in intel_measure_gather()
658 intel_measure_print(measure_device, info); in intel_measure_gather()
659 pthread_mutex_unlock(&measure_device->mutex); in intel_measure_gather()