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:
rmtFreePtrCallback function:rmtFreePtrCallback function:rmtInputHandlerPtrCallback function:rmtInputHandlerPtrCallback function:rmtMallocPtrCallback function:rmtMallocPtrstruct 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 ofRMTPropertystructs.Callback function:rmtPropertyHandlerPtrCallback function:rmtPropertyHandlerPtrstruct 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 ofRMTPropertyValuestructs.Callback function:rmtReallocPtrCallback function:rmtReallocPtrstruct rmtSampleIterator { rmtSample * sample; rmtSample * initial; }Callback function:rmtSampleTreeHandlerPtrCallback function:rmtSampleTreeHandlerPtrstruct 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 ofRMTVulkanBindstructs.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 ofRMTVulkanFunctionsstructs.