Blender V5.3
time.cpp File Reference
#include "util/time.h"
#include <chrono>
#include <cstdlib>
#include <sys/time.h>
#include <unistd.h>
#include "util/string.h"

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN double time_dt ()
void time_sleep (double t)
uint64_t time_fast_tick (uint32_t *)
uint64_t time_fast_frequency ()
string time_human_readable_from_seconds (const double seconds)
double time_human_readable_to_seconds (const string &time_string)

Function Documentation

◆ time_dt()

CCL_NAMESPACE_BEGIN double time_dt ( )

◆ time_fast_frequency()

uint64_t time_fast_frequency ( )

Definition at line 121 of file time.cpp.

References time_fast_frequency().

Referenced by Pass::get_info(), and time_fast_frequency().

◆ time_fast_tick()

uint64_t time_fast_tick ( uint32_t * last_cpu)

Definition at line 115 of file time.cpp.

References time_fast_tick().

Referenced by fast_timer::fast_timer(), fast_timer::lap(), and time_fast_tick().

◆ time_human_readable_from_seconds()

◆ time_human_readable_to_seconds()

double time_human_readable_to_seconds ( const string & time_string)

◆ time_sleep()

void time_sleep ( double t)

Definition at line 44 of file time.cpp.

References time_sleep().

Referenced by time_sleep().