Blender
V3.3
|
Go to the source code of this file.
Classes | |
class | scoped_timer |
class | scoped_callback_timer |
Functions | |
CCL_NAMESPACE_BEGIN double | time_dt () |
void | time_sleep (double t) |
string | time_human_readable_from_seconds (const double seconds) |
double | time_human_readable_to_seconds (const string &str) |
CCL_NAMESPACE_BEGIN double time_dt | ( | ) |
Definition at line 35 of file time.cpp.
Referenced by PathTrace::adaptive_sample(), Progress::add_skip_time(), RenderScheduler::check_time_limit_reached(), SVMCompiler::compile(), DeviceQueue::debug_init_execution(), DeviceQueue::debug_synchronize(), PathTrace::denoise(), LightManager::device_update_background(), RenderScheduler::get_num_samples_to_path_trace(), RenderScheduler::get_render_work(), scoped_timer::get_time(), Progress::get_time(), RenderScheduler::guess_display_update_interval_in_seconds_for_num_samples(), PathTrace::path_trace(), Progress::Progress(), BVHBuild::progress_update(), PathTrace::rebalance(), RenderScheduler::report_display_update_time(), RenderScheduler::report_work_begin(), Progress::reset(), BVHBuild::run(), scoped_timer::scoped_timer(), Progress::set_end_time(), Progress::set_render_start_time(), Progress::set_start_time(), BlenderSession::tag_redraw(), PathTrace::update_display(), RenderScheduler::update_state_for_render_work(), BlenderSession::update_status_progress(), BlenderSession::view_draw(), TaskPool::wait_work(), RenderScheduler::work_need_denoise(), RenderScheduler::work_need_rebalance(), RenderScheduler::work_need_update_display(), and TileManager::write_tile().
string time_human_readable_from_seconds | ( | const double | seconds | ) |
Definition at line 65 of file time.cpp.
References r, and string_printf().
Referenced by merge_layer_render_time(), merge_render_time(), BlenderSession::stamp_view_layer_metadata(), TEST(), and BlenderSession::update_status_progress().
double time_human_readable_to_seconds | ( | const string & | str | ) |
Definition at line 80 of file time.cpp.
References blender::math::length(), pow(), result, and string_split().
Referenced by merge_layer_render_time(), merge_render_time(), and TEST().