mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
20 lines
328 B
C++
Executable File
20 lines
328 B
C++
Executable File
#ifndef __TRACY_HPP__
|
|
#define __TRACY_HPP__
|
|
|
|
#ifdef TRACY_DISABLE
|
|
|
|
#define ZoneScoped
|
|
#define FrameMark
|
|
|
|
#else
|
|
|
|
#include "TracyProfiler.hpp"
|
|
#include "TracyScoped.hpp"
|
|
|
|
#define ZoneScoped tracy::ScopedZone ___tracy_scoped_zone( __FILE__, __FUNCTION__, __LINE__ );
|
|
#define FrameMark tracy::Profiler::FrameMark();
|
|
|
|
#endif
|
|
|
|
#endif
|