IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
profiler.hxx File Reference
#include <ice/types.hxx>
#include <ice/build/build.hxx>

Go to the source code of this file.

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.
namespace  ice::profiling

Macros

#define IPT_ENABLED   0
#define IPT_FRAME_MARK
#define IPT_FRAME_MARK_NAMED(...)
#define IPT_ZONE_SCOPED
#define IPT_ZONE_SCOPED_NAMED(...)
#define IPT_ZONE_NAME_STR(str)
#define IPT_ZONE_TEXT(txt, size)
#define IPT_ZONE_TEXT_STR(str)
#define IPT_ALLOC(ptr, size)
#define IPT_DEALLOC(ptr)
#define IPT_ALLOC_POOL(ptr, size, name)
#define IPT_DEALLOC_POOL(ptr, name)
#define IPT_MESSAGE(txt)
#define IPT_MESSAGE_STR(txt)
#define IPT_FIBERS   0
#define IPT_FIBER_START(name)
#define IPT_FIBER_END

Variables

static constexpr bool ice::profiling::is_enabled = IPT_ENABLED
static constexpr bool ice::profiling::has_fiber_support = IPT_FIBERS

Macro Definition Documentation

◆ IPT_ALLOC

#define IPT_ALLOC ( ptr,
size )

◆ IPT_ALLOC_POOL

#define IPT_ALLOC_POOL ( ptr,
size,
name )

◆ IPT_DEALLOC

#define IPT_DEALLOC ( ptr)

◆ IPT_DEALLOC_POOL

#define IPT_DEALLOC_POOL ( ptr,
name )

◆ IPT_ENABLED

#define IPT_ENABLED   0

Copyright 2022 - 2026, Dandielo dandi.nosp@m.elo@.nosp@m.icesh.nosp@m.ard..nosp@m.net SPDX-License-Identifier: MIT

◆ IPT_FIBER_END

#define IPT_FIBER_END

◆ IPT_FIBER_START

#define IPT_FIBER_START ( name)

◆ IPT_FIBERS

#define IPT_FIBERS   0

◆ IPT_FRAME_MARK

#define IPT_FRAME_MARK

◆ IPT_FRAME_MARK_NAMED

#define IPT_FRAME_MARK_NAMED ( ...)

◆ IPT_MESSAGE

#define IPT_MESSAGE ( txt)

◆ IPT_MESSAGE_STR

#define IPT_MESSAGE_STR ( txt)

◆ IPT_ZONE_NAME_STR

#define IPT_ZONE_NAME_STR ( str)

◆ IPT_ZONE_SCOPED

#define IPT_ZONE_SCOPED

◆ IPT_ZONE_SCOPED_NAMED

#define IPT_ZONE_SCOPED_NAMED ( ...)

◆ IPT_ZONE_TEXT

#define IPT_ZONE_TEXT ( txt,
size )

◆ IPT_ZONE_TEXT_STR

#define IPT_ZONE_TEXT_STR ( str)