OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::RDTSCClock Class Reference

CPU サイクル数カウンター More...

#include <RDTSCClock.hpp>

Public Member Functions

uint64 cycles () const noexcept
 経過時間(CPU サイクル数)を返します。 More...
 
void log () const
 ログに経過時間を出力します。 More...
 
void console () const
 コンソールに経過時間を出力します。 More...
 
void print () const
 経過時間をデバッグ表示します。 More...
 

Detailed Description

CPU サイクル数カウンター

Remarks
経過時間を CPU サイクル数で計測します。

Member Function Documentation

◆ console()

void s3d::RDTSCClock::console ( ) const

コンソールに経過時間を出力します。

◆ cycles()

uint64 s3d::RDTSCClock::cycles ( ) const
noexcept

経過時間(CPU サイクル数)を返します。

Returns
経過時間(CPU サイクル数)

◆ log()

void s3d::RDTSCClock::log ( ) const

ログに経過時間を出力します。

◆ print()

void s3d::RDTSCClock::print ( ) const

経過時間をデバッグ表示します。


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