Blender V5.3
blender::gpu::shader::parser::TimeIt Struct Reference

#include <time_it.hh>

Public Types

using Duration = std::chrono::microseconds

Public Member Functions

 TimeIt (Duration &time)
 ~TimeIt ()

Public Attributes

Duration & time
std::chrono::high_resolution_clock::time_point start

Detailed Description

Definition at line 18 of file time_it.hh.

Member Typedef Documentation

◆ Duration

using blender::gpu::shader::parser::TimeIt::Duration = std::chrono::microseconds

Definition at line 19 of file time_it.hh.

Constructor & Destructor Documentation

◆ TimeIt()

blender::gpu::shader::parser::TimeIt::TimeIt ( Duration & time)
inline

Definition at line 24 of file time_it.hh.

References start, and time.

◆ ~TimeIt()

blender::gpu::shader::parser::TimeIt::~TimeIt ( )
inline

Definition at line 28 of file time_it.hh.

References start, and time.

Member Data Documentation

◆ start

std::chrono::high_resolution_clock::time_point blender::gpu::shader::parser::TimeIt::start

Definition at line 22 of file time_it.hh.

Referenced by TimeIt(), and ~TimeIt().

◆ time

Duration& blender::gpu::shader::parser::TimeIt::time

Definition at line 21 of file time_it.hh.

Referenced by TimeIt(), and ~TimeIt().


The documentation for this struct was generated from the following file: