Blender  V3.3
Classes | Functions
time.h File Reference
#include "util/function.h"
#include "util/string.h"

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)
 

Function Documentation

◆ time_dt()

◆ time_human_readable_from_seconds()

string time_human_readable_from_seconds ( const double  seconds)

◆ time_human_readable_to_seconds()

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().

◆ time_sleep()

void time_sleep ( double  t)

Definition at line 44 of file time.cpp.

References t.