Blender V4.5
deg_debug_stats_gnuplot.cc File Reference
#include "DEG_depsgraph_debug.hh"
#include <algorithm>
#include <cstdarg>
#include "BLI_compiler_attrs.h"
#include "BLI_math_base.h"
#include "intern/depsgraph.hh"
#include "intern/node/deg_node_id.hh"
#include "DNA_ID.h"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::deg
 

Macros

#define NL   "\r\n"
 

Functions

void DEG_debug_stats_gnuplot (const Depsgraph *depsgraph, FILE *fp, const char *label, const char *output_filename)
 

Macro Definition Documentation

◆ NL

#define NL   "\r\n"

Function Documentation

◆ DEG_debug_stats_gnuplot()

void DEG_debug_stats_gnuplot ( const Depsgraph * depsgraph,
FILE * fp,
const char * label,
const char * output_filename )

Definition at line 138 of file deg_debug_stats_gnuplot.cc.

References depsgraph, label, and output_filename.

Variable Documentation

◆ file

FILE* file

Definition at line 30 of file deg_debug_stats_gnuplot.cc.

Referenced by _BLI_assert_print_pos(), _BLI_assert_unreachable_print(), blender::ed::asset::asset_tooltip(), BKE_image_load_in_lib(), BKE_movieclip_file_add(), BKE_packedfile_compare_to_file(), BKE_packedfile_new(), BKE_packedfile_write_to_file(), BKE_stamp_info_callback(), BKE_volume_save(), blendthumb_create_thumb_from_file(), blendthumb_extract_from_file_impl(), bli_builddir(), BLI_file_descriptor_size(), BLI_file_unzstd_to_mem_at_pos(), BLI_file_zstd_from_mem_at_pos(), BLI_mmap_any_io_error(), BLI_mmap_free(), BLI_mmap_get_length(), BLI_mmap_get_pointer(), BLI_mmap_open(), BLI_mmap_read(), BLI_path_append(), BLI_path_frame_get(), BLI_path_frame_strip(), BLI_path_split_dir_file(), BLI_path_split_file_part(), bli_windows_get_module_version(), blo_filedata_from_file_descriptor(), blo_filedata_from_file_open(), blo_filedata_from_memory(), BLO_readfile_blender_header_decode(), BLO_readfile_read_bhead(), buffer_from_filepath(), blender::io::obj::OBJMTLParserTest::check(), clip_drop_copy(), ctx_wm_asset_handle(), dna_write(), draw_details_columns(), ED_file_icon(), ED_fileselect_activate_by_id(), ED_fileselect_activate_by_relpath(), ED_fileselect_active_asset_get(), ED_fileselect_asset_import_method_get(), egl_chk(), ensure_digits(), blender::io::usd::export_in_memory_texture(), exr_channels_in_multi_part_file(), exr_get_ppm(), exr_has_alpha(), exr_has_chroma(), exr_has_luma(), exr_has_multipart_file(), exr_has_multiview(), exr_has_rgb(), exr_has_xyz(), exr_is_half_float(), exr_print_filecontents(), exr_rgba_channelname(), extract_png_from_blend_file(), file_add_icon_but(), file_add_preview_drag_but(), file_box_select_modal(), file_but_enable_drag(), file_but_tooltip_func_set(), file_context(), file_delete_exec(), file_delete_single(), file_draw_indicator_icons(), file_draw_list(), file_draw_preview(), file_draw_special_image(), file_draw_tooltip_custom_func(), file_ensure_inside_viewbounds(), file_execute(), file_handler_import_operator_write_ptr(), file_params_renamefile_activate(), file_read(), file_rename_state_activate(), file_seek(), file_select_do(), file_sfile_to_operator_ex(), file_tile_boundbox(), file_tooltip_data_create(), filelist_file_get_full_path(), filelist_file_get_id(), filelist_file_get_preview_image(), filelist_file_internal_get_asset_data(), filelist_file_is_preview_pending(), filelist_filter(), filelist_get_details_column_string(), filelist_get_preview_image(), filelist_geticon_file_type(), filelist_geticon_file_type_ex(), filelist_geticon_special_file_image(), filelist_geticon_special_file_image_ex(), fileselect_file_set(), CBlendThumb::GetThumbnail(), image_update_views_format(), imb_exr_begin_read_mem(), imb_exr_get_views(), imb_exr_is_multi(), imb_exr_is_multilayer_file(), imb_load_filepath_thumbnail_openexr(), imb_load_filepath_thumbnail_webp(), IMB_load_image_from_file_descriptor(), IMB_load_image_from_filepath(), imb_load_openexr(), imb_save_openexr_float(), imb_save_openexr_half(), imbuf_load_impl(), IMMapStream::IMMapStream(), blender::io::ply::import_ply_data(), blender::io::fbx::importer_main(), is_filtered_asset(), is_filtered_asset_library(), is_filtered_file(), is_filtered_file_name(), is_filtered_file_relpath(), is_filtered_file_type(), is_filtered_hidden(), is_filtered_id_file_type(), is_filtered_lib(), is_filtered_lib_type(), is_filtered_main(), is_filtered_main_assets(), klight_tree_plot_to_file(), light_tree_plot_to_file(), blender::io::ply::load_edge_element(), blender::io::ply::load_face_element(), blender::io::ply::load_tristrips_element(), blender::io::ply::load_vertex_element(), make_bad_file(), make_bad_file(), make_structDNA(), blender::locale::MOFile::MOFile(), blender::nodes_modifier_packed_bake_free(), RawWriteWrap::open(), blender::io::ply::parse_row_ascii(), blender::io::ply::parse_row_binary(), path_join(), blender::ed::io::paths_to_operator_properties(), prefetch_read_file_to_memory(), print_emitters(), proxy_thread_next_frame(), ptcache_path(), RB_dworld_export(), blender::io::ply::read(), blender::gpu::VKPipelinePool::read_from_disk(), blender::io::ply::read_header(), blender::io::ply::read_list_count(), blender::io::ply::read_ply_to_mesh(), blender::ui::string_search::read_recent_searches_file(), blender::io::stl::read_stl_binary(), blender::io::stl::read_stl_file(), MANTA::readConfiguration(), recursive_print_knode(), recursive_print_node(), recursive_print_node_relations(), rna_preprocess(), blender::ed::vse::sequencer_drop_copy(), blender::ed::vse::sequencer_export_subtitles_exec(), sigbus_handler(), sigbus_handler_add(), sigbus_handler_remove(), blender::io::ply::skip_element(), blender::io::ply::skip_property(), blender::io::stl::stl_import_report_error(), TEST(), ui_but_menu_add_path_operators(), uiTemplateCacheFile(), uiTemplateCacheFileLayers(), uiTemplateMovieclipInformation(), blender::ui::string_search::write_recent_searches_file(), blender::gpu::VKPipelinePool::write_to_disk(), blender::eevee::Precompute::write_to_header(), blender::eevee::Precompute::write_to_pfm(), and MANTA::writeConfiguration().

◆ graph

const Depsgraph* graph

Definition at line 31 of file deg_debug_stats_gnuplot.cc.

◆ id_node

const IDNode* id_node

Definition at line 37 of file deg_debug_stats_gnuplot.cc.

Referenced by blender::deg::DepsgraphNodeBuilder::add_component_node(), blender::deg::DepsgraphRelationBuilder::add_customdata_mask(), blender::deg::DepsgraphRelationBuilder::add_depends_on_transform_relation(), blender::deg::Depsgraph::add_id_node(), blender::deg::DepsgraphNodeBuilder::add_id_node(), blender::deg::DepsgraphRelationBuilder::add_special_eval_flag(), blender::deg::DepsgraphNodeBuilder::begin_build(), blender::deg::DepsgraphNodeBuilder::build_collection(), blender::deg::DepsgraphRelationBuilder::build_copy_on_write_relations(), blender::deg::DepsgraphRelationBuilder::build_copy_on_write_relations(), blender::deg::DepsgraphRelationBuilder::build_driver_relations(), blender::deg::DepsgraphRelationBuilder::build_driver_relations(), blender::deg::DepsgraphNodeBuilder::build_object(), blender::deg::DepsgraphNodeBuilder::build_object_modifiers(), blender::deg::DepsgraphNodeBuilder::build_scene_render(), blender::deg::DepsgraphNodeBuilder::build_view_layer(), blender::deg::Depsgraph::clear_id_nodes(), blender::deg::clear_id_nodes_conditional(), blender::deg::deg_check_base_in_depsgraph(), blender::deg::deg_check_id_in_depsgraph(), blender::deg::deg_create_eval_copy(), blender::deg::deg_debug_graphviz_graph_relations(), blender::deg::deg_debug_graphviz_node(), blender::deg::deg_eval_stats_aggregate(), blender::deg::deg_evaluate_object_modifiers_mode_node_visibility(), blender::deg::deg_evaluate_object_node_visibility(), DEG_get_customdata_mask_for_object(), DEG_get_eval_flags_for_id(), blender::deg::deg_graph_build_finalize(), blender::deg::deg_graph_flush_updates(), blender::deg::deg_graph_flush_visibility_flags(), DEG_graph_tag_relations_update(), DEG_id_is_fully_evaluated(), DEG_ids_clear_recalc(), DEG_ids_restore_recalc(), DEG_iterator_ids_begin(), DEG_iterator_ids_next(), DEG_iterator_ids_step(), DEG_stats_simple(), blender::deg::deg_update_eval_copy_datablock(), blender::deg::deg_update_eval_copy_datablock(), blender::deg::DepsgraphNodeBuilder::ensure_cow_id(), blender::deg::DepsgraphNodeBuilder::find_component_node(), blender::deg::DepsgraphRelationBuilder::find_node(), blender::deg::DepsgraphRelationBuilder::find_node(), blender::deg::RNANodeQuery::find_node(), blender::deg::DepsgraphNodeBuilder::foreach_id_cow_detect_need_for_update_callback(), blender::deg::Depsgraph::get_cow_id(), blender::deg::get_evaluated_id(), blender::deg::DepsgraphRelationBuilder::get_node(), blender::deg::graph_id_tag_update(), blender::deg::graph_tag_ids_for_visible_update(), operation_needs_update(), blender::deg::PersistentOperationKey::PersistentOperationKey(), and blender::deg::DepsgraphNodeBuilder::update_invalid_cow_pointers().

◆ label

const char* label

Definition at line 32 of file deg_debug_stats_gnuplot.cc.

Referenced by blender::ui::BasicTreeViewItem::add_label(), blender::ui::BasicTreeViewItem::BasicTreeViewItem(), bc_add_node(), BKE_image_add_tile(), BKE_image_get_tile_label(), bsdf_ashikhmin_shirley_sample(), bsdf_label(), bsdf_microfacet_ggx_sample(), bsdf_sample(), blender::meshintersect::cdt_draw(), DEG_debug_graph_to_dot(), DEG_debug_stats_gnuplot(), blender::ed::vse::draw_channel_labels(), blender::ed::spreadsheet::draw_context_panel(), draw_export_controls(), DialogData::drawButton(), blender::bke::tests::file_handler_add_test(), fmodifier_subpanel_register(), fsmenu_read_system(), blender::meshintersect::graph_draw(), graph_draw_driven_property_enabled_btn(), integrate_surface_bsdf_bssrdf_bounce(), integrate_surface_ray_portal(), modifier_subpanel_register(), blender::dot_export::Graph::new_cluster(), blender::dot_export::Graph::new_node(), node_blend_label(), node_filter_label(), blender::ed::space_node::node_find_create_label(), node_group_label(), node_image_label(), blender::nodes::node_fn_bit_math_cc::node_label(), blender::nodes::node_fn_boolean_math_cc::node_label(), blender::nodes::node_fn_compare_cc::node_label(), blender::nodes::node_fn_float_to_int_cc::node_label(), blender::nodes::node_fn_integer_math_cc::node_label(), blender::nodes::node_fn_match_string_cc::node_label(), blender::nodes::node_geo_closure_cc::input_node::node_label(), blender::nodes::node_geo_foreach_geometry_element_cc::input_node::node_label(), blender::nodes::node_geo_repeat_cc::repeat_input_node::node_label(), blender::nodes::node_geo_simulation_cc::sim_input_node::node_label(), blender::nodes::node_geo_warning_cc::node_label(), blender::nodes::node_composite_mask_cc::node_mask_label(), node_math_label(), node_vector_math_label(), blender::gpu::debug::object_label(), blender::gpu::debug::object_label(), osl_closure_generalized_schlick_bsdf_setup(), osl_closure_microfacet_setup(), uiLayout::panel(), uiLayout::panel_prop(), uiLayout::panel_prop_with_bool_header(), path_state_next(), playanim_toscreen_ex(), print_emitters(), print_float(), print_float2(), print_float3(), print_float4(), print_int3(), print_int4(), blender::gpu::debug::VKDebuggingTools::print_labels(), print_projection(), print_transform(), print_vfloat8(), recursive_print_knode(), recursive_print_node(), blender::ed::space_node::reroute_node_get_auto_label(), screen_user_menu_draw(), blender::dot_export::Edge::set_label(), blender::nodes::node_sh_mix_cc::sh_node_mix_label(), shaderfx_subpanel_register(), blender::ed::space_node::std_node_socket_draw(), surface_shader_bsdf_sample_closure(), tile_add_exec(), ui_item_with_label(), uiTemplateCollectionExporters(), uv_paste_exec(), vectorscope_draw_target(), wm_block_splash_add_label(), and UV_ClipboardBuffer::write_uvs().

◆ output_filename

const char* output_filename

Definition at line 33 of file deg_debug_stats_gnuplot.cc.

Referenced by DEG_debug_stats_gnuplot().

◆ time

double time

Definition at line 38 of file deg_debug_stats_gnuplot.cc.

Referenced by ABC_get_transform(), ABC_mesh_topology_changed(), blender::io::usd::add_anim_sample(), RenderScheduler::TimeWithAverage::add_average(), RenderScheduler::TimeWithAverage::add_wall(), ANIM_draw_cfra(), blender::ed::transform::applyBakeTime(), approximate_final_time(), basic_integrate(), BKE_cachefile_frame_offset(), BKE_cachefile_time_offset(), BKE_fcm_envelope_find_index(), BKE_ptcache_id_time(), BKE_ptcache_make_particle_key(), BKE_sound_jack_scene_update(), BKE_stamp_info_callback(), BLI_easing_back_ease_in(), BLI_easing_back_ease_in_out(), BLI_easing_back_ease_out(), BLI_easing_bounce_ease_in(), BLI_easing_bounce_ease_in_out(), BLI_easing_bounce_ease_out(), BLI_easing_circ_ease_in(), BLI_easing_circ_ease_in_out(), BLI_easing_circ_ease_out(), BLI_easing_cubic_ease_in(), BLI_easing_cubic_ease_in_out(), BLI_easing_cubic_ease_out(), BLI_easing_elastic_ease_in(), BLI_easing_elastic_ease_in_out(), BLI_easing_elastic_ease_out(), BLI_easing_expo_ease_in(), BLI_easing_expo_ease_in_out(), BLI_easing_expo_ease_out(), BLI_easing_linear_ease(), BLI_easing_quad_ease_in(), BLI_easing_quad_ease_in_out(), BLI_easing_quad_ease_out(), BLI_easing_quart_ease_in(), BLI_easing_quart_ease_in_out(), BLI_easing_quart_ease_out(), BLI_easing_quint_ease_in(), BLI_easing_quint_ease_in_out(), BLI_easing_quint_ease_out(), BLI_easing_sine_ease_in(), BLI_easing_sine_ease_in_out(), BLI_easing_sine_ease_out(), BLI_filelist_entry_datetime_to_string(), BLI_timecode_string_from_time(), button_activate_state(), blender::gpu::VKShaderCompiler::cache_dir_clear_old(), camera_sample(), Hair::Curve::cardinal_motion_keys(), cloth_calc_force(), copy_particle_key(), blender::io::alembic::create_abc_metadata(), blender::ed::transform::createTransParticleVerts(), CurveSegmentMotionCV(), data_device_handle_motion(), DEG_debug_print_eval_time(), DEG_editors_update(), Background::device_update(), BakeManager::device_update(), Camera::device_update(), Film::device_update(), GeometryManager::device_update(), ImageManager::device_update(), Integrator::device_update(), LightManager::device_update(), LookupTables::device_update(), ObjectManager::device_update(), ParticleSystemManager::device_update(), Scene::device_update(), ObjectManager::device_update_flags(), GeometryManager::device_update_preprocess(), SVMShaderManager::device_update_specific(), do_clump(), do_clump_level(), do_guides(), do_kink(), do_kink_spiral_deform(), do_rough_curve(), do_twist(), driver_evaluate_simple_expr(), driver_try_evaluate_simple_expr(), elastic_blend(), blender::io::usd::ensure_blend_shape_skeleton(), event_to_buf(), blender::nodes::node_composite_time_curves_cc::TimeCurveOperation::execute(), explodeMesh(), ExportCurveSegments(), extrawindow_spin_cursor(), blender::animrig::fcurve_delete_keyframe_at_time(), fcurve_eval_keyframes_interpolate(), filelist_get_details_column_string(), fillCineonMainHeader(), fillDpxMainHeader(), GHOST_TimerManager::fireTimer(), GHOST_TimerManager::fireTimers(), OSLRenderServices::get_inverse_matrix(), blender::io::usd::USDXformReader::get_local_usd_xform(), blender::io::alembic::get_matrix(), OSLRenderServices::get_matrix(), blender::io::alembic::get_sample_interpolation_settings(), blender::io::alembic::get_shutter_samples(), Progress::get_time(), GHOST_SystemX11::getMilliSeconds(), blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_sequence_easing_calc(), image_zoom_apply(), blender::eevee::MotionBlurModule::init(), blender::io::hydra::MaterialData::init(), init_particle_interpolation(), integrate_distant_lights(), integrate_light(), integrator_eval_background_shader(), integrator_state_read_ray(), integrator_state_read_shadow_ray(), integrator_state_write_ray(), integrator_state_write_shadow_ray(), interpolate_exciter(), interpolate_pathcache(), keyboard_handle_key(), light_sample(), light_sample_from_position(), light_sample_from_volume_segment(), light_sample_shader_eval(), mainwindow_timer_proc(), merge_layer_render_time(), merge_render_time(), meshcache_do(), meshcache_read_mdd_range_from_time(), meshcache_read_pc2_range_from_time(), MOD_meshcache_read_mdd_times(), MOD_meshcache_read_pc2_times(), PointCloud::Point::motion_key(), Hair::Curve::motion_keys(), Camera::motion_step(), Geometry::motion_step(), Object::motion_step(), motion_triangle_compute_info(), motion_triangle_intersect(), motion_triangle_smooth_normal(), motion_triangle_smooth_normal(), motion_triangle_vertices(), motion_triangle_vertices_and_normals(), Mesh::Triangle::motion_verts(), blender::animrig::nla_time_remap(), blender::bke::node_unique_id(), object_fetch_transform_motion_test(), blender::draw::overlay::ModeTransfer::object_sync(), pointer_handle_axis(), pointer_handle_axis_stop(), pointer_handle_button(), pointer_handle_motion(), GHOST_SystemWin32::processPointerEvent(), psys_cache_edit_paths_iter(), psys_cache_paths(), psys_get_child_time(), psys_get_from_key(), psys_get_particle_state(), ptcache_particle_interpolate(), ptcache_particle_read(), ptcache_particle_write(), pupdate_time(), blender::io::alembic::AbcObjectReader::read_matrix(), blender::io::usd::USDXformReader::read_matrix(), rekey_particle(), relative_pointer_handle_relative_motion(), blender::io::usd::remap_blend_shape_anim(), RenderScheduler::report_adaptive_filter_time(), RenderScheduler::report_denoise_time(), RenderScheduler::report_display_update_time(), RenderScheduler::report_path_trace_time(), RenderScheduler::report_rebalance_time(), sample_selector_for_time(), sb_deflect_face(), sb_detect_edge_collisionCached(), sb_detect_face_collisionCached(), sb_detect_face_pointCached(), sb_detect_vertex_collisionCached(), screen_animation_step_invoke(), blender::io::fbx::set_curve_sample(), set_keyed_keys(), blender::compositor::Profiler::set_node_evaluation_time(), setDeactivationTime(), setRndSeed(), blender::io::alembic::AbcObjectReader::setupObjectTransform(), shader_setup_from_sample(), shader_setup_object_transforms(), shaperadius(), sound_jack_sync_callback(), stampdata(), blender::eevee::VelocityModule::step_sync(), subdivide_particle(), tablet_tool_handle_frame(), testTimerProc(), testTimerProc(), text_line_number_invoke(), time_offset_fcurve_segment(), blender::ed::transform::TimeToTransData(), transform_motion_array_interpolate(), transformcache_evaluate(), triangle_light_sample(), triangle_world_space_vertices(), twist_get_axis(), Camera::update(), ProceduralManager::update(), update_velocities(), GHOST_NDOFManager::updateButton(), GHOST_NDOFManager::updateButtonRAW(), GHOST_NDOFManager::updateButtonsArray(), GHOST_NDOFManager::updateButtonsBitmask(), GHOST_NDOFManager::updateRotation(), GHOST_NDOFManager::updateTranslation(), blender::io::usd::USD_get_transform(), blender::io::usd::USD_mesh_topology_changed(), value_dissolve(), view_zoom_apply(), view_zoomdrag_apply(), viewzoom_scale_value(), walk_calc_free_fall_distance(), wm_window_timers_process(), and DeviceQueue::~DeviceQueue().