Skip to content

File Instrumentor.h

FileList > Debug > Instrumentor.h

Go to the source code of this file

  • #include <algorithm>
  • #include <chrono>
  • #include <fstream>
  • #include <iostream>
  • #include <string>
  • #include <thread>
  • #include "Core.h"

Namespaces

Type Name
namespace rayx

Classes

Type Name
class InstrumentationTimer

Macros

Type Name
define RAYX_PROFILE_FUNCTION () RAYX\_PROFILE\_SCOPE(\_\_PRETTY\_FUNCTION\_\_)
define RAYX_PROFILE_FUNCTION_STDOUT () RAYX\_PROFILE\_SCOPE\_STDOUT(\_\_func\_\_)
define RAYX_PROFILE_SCOPE (name) [**::rayx::InstrumentationTimer**](classrayx_1_1InstrumentationTimer.md) timer##\_\_LINE\_\_(name, false)
define RAYX_PROFILE_SCOPE_STDOUT (name) [**::rayx::InstrumentationTimer**](classrayx_1_1InstrumentationTimer.md) timer##\_\_LINE\_\_(name, true)
define __PRETTY_FUNCTION__ \_\_FUNCSIG\_\_

Macro Definition Documentation

define RAYX_PROFILE_FUNCTION

#define RAYX_PROFILE_FUNCTION (

) `RAYX_PROFILE_SCOPE(__PRETTY_FUNCTION__)`

define RAYX_PROFILE_FUNCTION_STDOUT

#define RAYX_PROFILE_FUNCTION_STDOUT (

) `RAYX_PROFILE_SCOPE_STDOUT(__func__)`

define RAYX_PROFILE_SCOPE

#define RAYX_PROFILE_SCOPE (
    name
) `::rayx::InstrumentationTimer timer##__LINE__(name, false)`

define RAYX_PROFILE_SCOPE_STDOUT

#define RAYX_PROFILE_SCOPE_STDOUT (
    name
) `::rayx::InstrumentationTimer timer##__LINE__(name, true)`

define __PRETTY_FUNCTION__

#define __PRETTY_FUNCTION__ `__FUNCSIG__`


The documentation for this class was generated from the following file Intern/rayx-core/src/Debug/Instrumentor.h