@@ -645,7 +645,6 @@ JL_DLLEXPORT void jl_timing_show_location(const char *file, int line, jl_module_
645645 cur_block -> nvtx_payload .module .root = nvtxDomainRegisterStringA (jl_timing_nvtx_domain , jl_symbol_name (root -> name ));
646646 cur_block -> nvtx_payload .flags |= JL_NVTX_PAYLOAD_FLAG_LOCATION | JL_NVTX_PAYLOAD_FLAG_MODULE ;
647647#endif
648- #endif
649648}
650649
651650JL_DLLEXPORT void jl_timing_show_method_instance (jl_method_instance_t * mi , jl_timing_block_t * cur_block )
@@ -664,7 +663,7 @@ JL_DLLEXPORT void jl_timing_show_method(jl_method_t *method, jl_timing_block_t *
664663{
665664 jl_timing_show ((jl_value_t * )method , cur_block );
666665 #ifdef USE_NVTX
667-
666+ // TODO: add signature to payload
668667 #endif
669668 jl_timing_show_location (jl_symbol_name (method -> file ), method -> line , method -> module , cur_block );
670669}
@@ -700,7 +699,7 @@ JL_DLLEXPORT void jl_timing_show_macro(jl_method_instance_t *macro, jl_value_t*
700699{
701700 jl_timing_printf (cur_block , "%s" , jl_symbol_name (macro -> def .method -> name ));
702701 #ifdef USE_NVTX
703-
702+ // TODO: add macro to payload
704703 #endif
705704 assert (jl_typetagis (lno , jl_linenumbernode_type ));
706705 jl_timing_show_location (jl_symbol_name ((jl_sym_t * )jl_fieldref (lno , 1 )),
@@ -765,6 +764,7 @@ void jl_timing_task_init(jl_task_t *t)
765764 snprintf (fiber_name , fiber_name_len , "Task %d (\"%s\")" ,
766765 task_id ++ , start_name );
767766 }
767+ #endif
768768#ifdef USE_TRACY
769769 t -> name = fiber_name ;
770770#endif
0 commit comments