mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Rename FrameMark() to SendFrameMark().
This avoids conflict with FrameMark define.
This commit is contained in:
parent
0e59c6e98d
commit
a3c898f8b8
@ -48,7 +48,7 @@
|
||||
#define ZoneText( txt, size ) ___tracy_scoped_zone.Text( txt, size );
|
||||
#define ZoneName( txt, size ) ___tracy_scoped_zone.Name( txt, size );
|
||||
|
||||
#define FrameMark tracy::Profiler::FrameMark();
|
||||
#define FrameMark tracy::Profiler::SendFrameMark();
|
||||
|
||||
#define TracyLockable( type, varname ) tracy::Lockable<type> varname { [] () -> const tracy::SourceLocation* { static const tracy::SourceLocation srcloc { nullptr, #type " " #varname, __FILE__, __LINE__, 0 }; return &srcloc; }() };
|
||||
#define TracyLockableN( type, varname, desc ) tracy::Lockable<type> varname { [] () -> const tracy::SourceLocation* { static const tracy::SourceLocation srcloc { nullptr, desc, __FILE__, __LINE__, 0 }; return &srcloc; }() };
|
||||
|
@ -116,7 +116,7 @@ public:
|
||||
#endif
|
||||
}
|
||||
|
||||
static tracy_force_inline void FrameMark()
|
||||
static tracy_force_inline void SendFrameMark()
|
||||
{
|
||||
#ifdef TRACY_ON_DEMAND
|
||||
s_profiler.m_frameCount.fetch_add( 1, std::memory_order_relaxed );
|
||||
|
Loading…
Reference in New Issue
Block a user