Blender  V2.93
Classes | Typedefs | Functions
blender::timeit Namespace Reference

Classes

class  ScopedTimer
 

Typedefs

using Clock = std::chrono::steady_clock
 
using TimePoint = Clock::time_point
 
using Nanoseconds = std::chrono::nanoseconds
 

Functions

void print_duration (Nanoseconds duration)
 

Typedef Documentation

◆ Clock

using blender::timeit::Clock = typedef std::chrono::steady_clock

Definition at line 27 of file BLI_timeit.hh.

◆ Nanoseconds

using blender::timeit::Nanoseconds = typedef std::chrono::nanoseconds

Definition at line 29 of file BLI_timeit.hh.

◆ TimePoint

using blender::timeit::TimePoint = typedef Clock::time_point

Definition at line 28 of file BLI_timeit.hh.

Function Documentation

◆ print_duration()

void blender::timeit::print_duration ( Nanoseconds  duration)

Definition at line 21 of file timeit.cc.

Referenced by blender::timeit::ScopedTimer::~ScopedTimer().