Blender  V2.93
Classes | Namespaces | Macros | Typedefs | Functions
BLI_timeit.hh File Reference
#include <chrono>
#include <iostream>
#include <string>
#include "BLI_sys_types.h"

Go to the source code of this file.

Classes

class  blender::timeit::ScopedTimer
 

Namespaces

 blender
 
 blender::timeit
 

Macros

#define SCOPED_TIMER(name)   blender::timeit::ScopedTimer scoped_timer(name)
 

Typedefs

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

Functions

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

Macro Definition Documentation

◆ SCOPED_TIMER

#define SCOPED_TIMER (   name)    blender::timeit::ScopedTimer scoped_timer(name)

Definition at line 57 of file BLI_timeit.hh.