Blender V4.3
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 82 of file time.cpp.

References length(), pow(), result, and string_split().

Referenced by merge_layer_render_time(), merge_render_time(), TEST(), TEST(), TEST(), TEST(), and TEST().

◆ time_sleep()

void time_sleep ( double t)

Definition at line 45 of file time.cpp.

References int.