Package org.lwjgl.util.remotery
@NullMarked
package org.lwjgl.util.remotery
Contains bindings to Remotery, a realtime CPU/GPU profiler hosted in a single C file with a viewer
that runs in a web browser.
LWJGL: The current version of the Remotery bindings is compatible with commit c3e8a2f. Run the following commands to clone the Remotery repository at that commit:
git clone --depth=1 https://github.com/Celtoys/Remotery.git
cd Remotery
git fetch --depth=1 origin c3e8a2f38603c054be479bcefeaa54ad455dd4b9
git branch --no-track lwjgl c3e8a2f38603c054be479bcefeaa54ad455dd4b9
git checkout lwjgl
git branch -D @{-1}
Now open vis/index.html
in your favorite browser to view the profiler.
-
ClassDescriptionCallback function:
rmtFreePtr
Callback function:rmtFreePtr
Callback function:rmtInputHandlerPtr
Callback function:rmtInputHandlerPtr
Callback function:rmtMallocPtr
Callback function:rmtMallocPtr
struct rmtProperty { rmtBool initialised; rmtPropertyType type; rmtPropertyFlags flags; {@link RMTPropertyValue rmtPropertyValue} value; {@link RMTPropertyValue rmtPropertyValue} lastFrameValue; {@link RMTPropertyValue rmtPropertyValue} prevValue; rmtU32 prevValueFrame; char const * name; char const * description; {@link RMTPropertyValue rmtPropertyValue} defaultValue; {@link RMTProperty rmtProperty} * parent; {@link RMTProperty rmtProperty} * firstChild; {@link RMTProperty rmtProperty} * lastChild; {@link RMTProperty rmtProperty} * nextSibling; rmtU32 nameHash; rmtU32 uniqueID; }
An array ofRMTProperty
structs.Callback function:rmtPropertyHandlerPtr
Callback function:rmtPropertyHandlerPtr
struct rmtPropertyIterator { {@link RMTProperty rmtProperty} * property; {@link RMTProperty rmtProperty} * initial; }
union rmtPropertyValue { rmtBool Bool; rmtS32 S32; rmtU32 U32; rmtF32 F32; rmtS64 S64; rmtU64 U64; rmtF64 F64; }
An array ofRMTPropertyValue
structs.Callback function:rmtReallocPtr
Callback function:rmtReallocPtr
struct rmtSampleIterator { rmtSample * sample; rmtSample * initial; }
Callback function:rmtSampleTreeHandlerPtr
Callback function:rmtSampleTreeHandlerPtr
struct rmtSettings { rmtU16 port; rmtBool reuse_open_port; rmtBool limit_connections_to_localhost; rmtBool enableThreadSampler; rmtU32 msSleepBetweenServerUpdates; rmtU32 messageQueueSizeInBytes; rmtU32 maxNbMessagesPerUpdate; {@link RMTMallocI rmtMallocPtr} _malloc; {@link RMTReallocI rmtReallocPtr} realloc; {@link RMTFreeI rmtFreePtr} _free; void * mm_context; {@link RMTInputHandlerI rmtInputHandlerPtr} input_handler; {@link RMTSampleTreeHandlerI rmtSampleTreeHandlerPtr} sampletree_handler; void * sampletree_context; {@link RMTPropertyHandlerI rmtPropertyHandlerPtr} snapshot_callback; void * snapshot_context; void * input_handler_context; rmtPStr logPath; }
struct rmtVulkanBind { VkInstance instance; VkPhysicalDevice physical_device; VkDevice device; VkQueue queue; }
An array ofRMTVulkanBind
structs.struct rmtVulkanFunctions { void * vkGetPhysicalDeviceProperties; void * vkQueueSubmit; void * vkQueueWaitIdle; void * vkCreateQueryPool; void * vkDestroyQueryPool; void * vkResetQueryPool; void * vkGetQueryPoolResults; void * vkCmdWriteTimestamp; void * vkCreateSemaphore; void * vkDestroySemaphore; void * vkSignalSemaphore; void * vkGetSemaphoreCounterValue; void * vkGetCalibratedTimestampsEXT; }
An array ofRMTVulkanFunctions
structs.