Lines Matching refs:prof_info
135 acc_prof_info prof_info;
138 thr->prof_info = &prof_info;
140 prof_info.event_type = acc_ev_compute_construct_start;
141 prof_info.valid_bytes = _ACC_PROF_INFO_VALID_BYTES;
142 prof_info.version = _ACC_PROF_INFO_VERSION;
143 prof_info.device_type = acc_device_type (acc_dev->type);
144 prof_info.device_number = acc_dev->target_id;
145 prof_info.thread_id = -1;
146 prof_info.async = async;
147 prof_info.async_queue = prof_info.async;
148 prof_info.src_file = NULL;
149 prof_info.func_name = NULL;
150 prof_info.line_no = -1;
151 prof_info.end_line_no = -1;
152 prof_info.func_line_no = -1;
153 prof_info.func_end_line_no = -1;
159 = prof_info.event_type;
174 api_info.device_type = prof_info.device_type;
182 goacc_profiling_dispatch (&prof_info, &compute_construct_event_info,
191 prof_info.device_type = acc_device_host;
192 api_info.device_type = prof_info.device_type;
238 prof_info.async = async;
239 prof_info.async_queue = prof_info.async;
278 prof_info.event_type = acc_ev_enter_data_start;
280 = prof_info.event_type;
287 goacc_profiling_dispatch (&prof_info, &enter_exit_data_event_info,
297 prof_info.event_type = acc_ev_enter_data_end;
299 = prof_info.event_type;
300 goacc_profiling_dispatch (&prof_info, &enter_exit_data_event_info,
317 prof_info.event_type = acc_ev_exit_data_start;
318 enter_exit_data_event_info.other_event.event_type = prof_info.event_type;
320 goacc_profiling_dispatch (&prof_info, &enter_exit_data_event_info,
329 prof_info.event_type = acc_ev_exit_data_end;
330 enter_exit_data_event_info.other_event.event_type = prof_info.event_type;
331 goacc_profiling_dispatch (&prof_info, &enter_exit_data_event_info,
338 prof_info.event_type = acc_ev_compute_construct_end;
340 = prof_info.event_type;
341 goacc_profiling_dispatch (&prof_info, &compute_construct_event_info,
344 thr->prof_info = NULL;
386 acc_prof_info prof_info;
389 thr->prof_info = &prof_info;
391 prof_info.event_type = acc_ev_enter_data_start;
392 prof_info.valid_bytes = _ACC_PROF_INFO_VALID_BYTES;
393 prof_info.version = _ACC_PROF_INFO_VERSION;
394 prof_info.device_type = acc_device_type (acc_dev->type);
395 prof_info.device_number = acc_dev->target_id;
396 prof_info.thread_id = -1;
397 prof_info.async = acc_async_sync; /* Always synchronous. */
398 prof_info.async_queue = prof_info.async;
399 prof_info.src_file = NULL;
400 prof_info.func_name = NULL;
401 prof_info.line_no = -1;
402 prof_info.end_line_no = -1;
403 prof_info.func_line_no = -1;
404 prof_info.func_end_line_no = -1;
410 = prof_info.event_type;
440 api_info.device_type = prof_info.device_type;
448 goacc_profiling_dispatch (&prof_info, &enter_data_event_info, &api_info);
454 prof_info.device_type = acc_device_host;
455 api_info.device_type = prof_info.device_type;
473 prof_info.event_type = acc_ev_enter_data_end;
474 enter_data_event_info.other_event.event_type = prof_info.event_type;
475 goacc_profiling_dispatch (&prof_info, &enter_data_event_info, &api_info);
477 thr->prof_info = NULL;
491 acc_prof_info prof_info;
494 thr->prof_info = &prof_info;
496 prof_info.event_type = acc_ev_exit_data_start;
497 prof_info.valid_bytes = _ACC_PROF_INFO_VALID_BYTES;
498 prof_info.version = _ACC_PROF_INFO_VERSION;
499 prof_info.device_type = acc_device_type (acc_dev->type);
500 prof_info.device_number = acc_dev->target_id;
501 prof_info.thread_id = -1;
502 prof_info.async = acc_async_sync; /* Always synchronous. */
503 prof_info.async_queue = prof_info.async;
504 prof_info.src_file = NULL;
505 prof_info.func_name = NULL;
506 prof_info.line_no = -1;
507 prof_info.end_line_no = -1;
508 prof_info.func_line_no = -1;
509 prof_info.func_end_line_no = -1;
515 = prof_info.event_type;
529 api_info.device_type = prof_info.device_type;
537 goacc_profiling_dispatch (&prof_info, &exit_data_event_info, &api_info);
546 prof_info.event_type = acc_ev_exit_data_end;
547 exit_data_event_info.other_event.event_type = prof_info.event_type;
548 goacc_profiling_dispatch (&prof_info, &exit_data_event_info, &api_info);
550 thr->prof_info = NULL;
571 acc_prof_info prof_info;
574 thr->prof_info = &prof_info;
576 prof_info.event_type = acc_ev_update_start;
577 prof_info.valid_bytes = _ACC_PROF_INFO_VALID_BYTES;
578 prof_info.version = _ACC_PROF_INFO_VERSION;
579 prof_info.device_type = acc_device_type (acc_dev->type);
580 prof_info.device_number = acc_dev->target_id;
581 prof_info.thread_id = -1;
582 prof_info.async = async;
583 prof_info.async_queue = prof_info.async;
584 prof_info.src_file = NULL;
585 prof_info.func_name = NULL;
586 prof_info.line_no = -1;
587 prof_info.end_line_no = -1;
588 prof_info.func_line_no = -1;
589 prof_info.func_end_line_no = -1;
595 = prof_info.event_type;
609 api_info.device_type = prof_info.device_type;
617 goacc_profiling_dispatch (&prof_info, &update_event_info, &api_info);
622 prof_info.device_type = acc_device_host;
623 api_info.device_type = prof_info.device_type;
702 prof_info.event_type = acc_ev_update_end;
703 update_event_info.other_event.event_type = prof_info.event_type;
704 goacc_profiling_dispatch (&prof_info, &update_event_info, &api_info);
706 thr->prof_info = NULL;