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;rmtPropertyValuevalue;rmtPropertyValuelastFrameValue;rmtPropertyValueprevValue; rmtU32 prevValueFrame; char const * name; char const * description;rmtPropertyValuedefaultValue;rmtProperty* parent;rmtProperty* firstChild;rmtProperty* lastChild;rmtProperty* nextSibling; rmtU32 nameHash; rmtU32 uniqueID; }An array ofRMTPropertystructs.Callback function:rmtPropertyHandlerPtrCallback function:rmtPropertyHandlerPtrstruct rmtPropertyIterator {rmtProperty* property;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;rmtMallocPtr_malloc;rmtReallocPtrrealloc;rmtFreePtr_free; void * mm_context;rmtInputHandlerPtrinput_handler;rmtSampleTreeHandlerPtrsampletree_handler; void * sampletree_context;rmtPropertyHandlerPtrsnapshot_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.