Blender V4.3
time.cpp File Reference
#include "util/time.h"
#include <stdlib.h>
#include <sys/time.h>
#include <unistd.h>
#include "util/math.h"
#include "util/string.h"
#include "util/windows.h"

Go to the source code of this file.

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 &time_string)
 

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 & time_string)

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.