Blender  V3.3
Functions
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 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.