{"id":"ui--yuiRenderTelemetry","name":"yuiRenderTelemetry","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiRenderTelemetry","description":"A yui render telemetry record carrying workload, warmupSamples, measuredSamples, totalFrameMicroseconds, minimumFrameMicroseconds, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"workload","kind":"field","type":"text","description":"Stores workload as text.","signature":"text workload","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"warmupSamples","kind":"field","type":"int","description":"Stores warmup samples as int.","signature":"int warmupSamples","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"measuredSamples","kind":"field","type":"int","description":"Stores measured samples as int.","signature":"int measuredSamples","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"totalFrameMicroseconds","kind":"field","type":"int","description":"Stores total frame microseconds as int.","signature":"int totalFrameMicroseconds","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"minimumFrameMicroseconds","kind":"field","type":"int","description":"Stores minimum frame microseconds as int.","signature":"int minimumFrameMicroseconds","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"maximumFrameMicroseconds","kind":"field","type":"int","description":"Stores maximum frame microseconds as int.","signature":"int maximumFrameMicroseconds","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"maximumAllocatedBytes","kind":"field","type":"int","description":"Stores maximum allocated bytes as int.","signature":"int maximumAllocatedBytes","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"maximumRealizedElements","kind":"field","type":"int","description":"Stores maximum realized elements as int.","signature":"int maximumRealizedElements","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"maximumLayoutPasses","kind":"field","type":"int","description":"Stores maximum layout passes as int.","signature":"int maximumLayoutPasses","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"maximumPaintCommands","kind":"field","type":"int","description":"Stores maximum paint commands as int.","signature":"int maximumPaintCommands","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"maximumInvalidatedArea","kind":"field","type":"int","description":"Stores maximum invalidated area as int.","signature":"int maximumInvalidatedArea","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"maximumGlyphCacheBytes","kind":"field","type":"int","description":"Stores maximum glyph cache bytes as int.","signature":"int maximumGlyphCacheBytes","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"maximumResourceBytes","kind":"field","type":"int","description":"Stores maximum resource bytes as int.","signature":"int maximumResourceBytes","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiRenderTelemetry","kind":"constructor","parameters":[{"name":"workload","type":"text","description":"Workload."}],"returns":"void","signature":"yuiRenderTelemetry(text workload)","description":"Yui render telemetry.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"AddSample","kind":"method","parameters":[{"name":"warmup","type":"bool","description":"Warmup."},{"name":"frameMicroseconds","type":"int","description":"Frame microseconds."},{"name":"allocatedBytes","type":"int","description":"Allocated bytes."},{"name":"realizedElements","type":"int","description":"Realized elements."},{"name":"layoutPasses","type":"int","description":"Layout passes."},{"name":"paintCommands","type":"int","description":"Paint commands."},{"name":"invalidatedArea","type":"int","description":"Invalidated area."},{"name":"glyphCacheBytes","type":"int","description":"Glyph cache bytes."},{"name":"resourceBytes","type":"int","description":"Resource bytes."}],"returns":"bool","signature":"AddSample(bool warmup, int frameMicroseconds, int allocatedBytes, int realizedElements, int layoutPasses, int paintCommands, int invalidatedArea, int glyphCacheBytes, int resourceBytes) returns bool","description":"Add sample.","tags":["thing","method","ui"],"exampleId":"method-AddSample-15","updated":"2026-09-09"},{"name":"MeanFrameMicroseconds","kind":"method","parameters":[],"returns":"int","signature":"MeanFrameMicroseconds() returns int","description":"Mean frame microseconds.","tags":["thing","method","ui"],"exampleId":"method-MeanFrameMicroseconds-16","updated":"2026-09-09"},{"name":"VariancePercent","kind":"method","parameters":[],"returns":"int","signature":"VariancePercent() returns int","description":"Variance percent.","tags":["thing","method","ui"],"exampleId":"method-VariancePercent-17","updated":"2026-09-09"},{"name":"WithinBudget","kind":"method","parameters":[{"name":"maximumMeanFrameMicroseconds","type":"int","description":"Maximum mean frame microseconds."},{"name":"maximumFrameMicroseconds","type":"int","description":"Maximum frame microseconds."},{"name":"maximumVariancePercent","type":"int","description":"Maximum variance percent."},{"name":"maximumAllocatedBytes","type":"int","description":"Maximum allocated bytes."},{"name":"maximumRealizedElements","type":"int","description":"Maximum realized elements."},{"name":"maximumLayoutPasses","type":"int","description":"Maximum layout passes."},{"name":"maximumPaintCommands","type":"int","description":"Maximum paint commands."},{"name":"maximumInvalidatedArea","type":"int","description":"Maximum invalidated area."}],"returns":"bool","signature":"WithinBudget(int maximumMeanFrameMicroseconds, int maximumFrameMicroseconds, int maximumVariancePercent, int maximumAllocatedBytes, int maximumRealizedElements, int maximumLayoutPasses, int maximumPaintCommands, int maximumInvalidatedArea) returns bool","description":"Within budget.","tags":["thing","method","ui"],"exampleId":"method-WithinBudget-18","updated":"2026-09-09"},{"name":"RenderReport","kind":"method","parameters":[],"returns":"text","signature":"RenderReport() returns text","description":"Render report.","tags":["thing","method","ui"],"exampleId":"method-RenderReport-19","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/render-40-adapter-telemetry.yh","line":87,"sha256":"25de1c1bd62205838734dd0f7d5bb5eb8e39de578b46e1e0332ed637c325435c"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use yuiRenderTelemetry","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiRenderTelemetry sample = yuiRenderTelemetry(\"workload\")\nConsole.Log(Text.From(sample.workload))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertelemetry\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"4dec816edcf465fe41c51d3a0b254ddaadcd7540ada02ae6adc91e318685b11c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddSample-15","title":"yuiRenderTelemetry.AddSample","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Add sample.\nyuiRenderTelemetry instance = yuiRenderTelemetry(\"workload\")\nbool argument_warmup = true\nint argument_frameMicroseconds = 1\nint argument_allocatedBytes = 4\nint argument_realizedElements = 1\nint argument_layoutPasses = 1\nint argument_paintCommands = 1\nint argument_invalidatedArea = 1\nint argument_glyphCacheBytes = 4\nint argument_resourceBytes = 4\nbool result = instance.AddSample(argument_warmup, argument_frameMicroseconds, argument_allocatedBytes, argument_realizedElements, argument_layoutPasses, argument_paintCommands, argument_invalidatedArea, argument_glyphCacheBytes, argument_resourceBytes)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertelemetry\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"edfd9f542cf1c419232a00eae8a87e4988a125a54734fba6d9f618b1abf14b0f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MeanFrameMicroseconds-16","title":"yuiRenderTelemetry.MeanFrameMicroseconds","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Mean frame microseconds.\nyuiRenderTelemetry instance = yuiRenderTelemetry(\"workload\")\nint result = instance.MeanFrameMicroseconds()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertelemetry\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"0a82e06db93a9e9e0707ddd8f7c7803578829c717521acadb65ba760638ea90e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-VariancePercent-17","title":"yuiRenderTelemetry.VariancePercent","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Variance percent.\nyuiRenderTelemetry instance = yuiRenderTelemetry(\"workload\")\nint result = instance.VariancePercent()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertelemetry\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"00493bbad9734293f2e6b19363da95224aea321bc54e2ecfaefcf1ca3080edf0","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-WithinBudget-18","title":"yuiRenderTelemetry.WithinBudget","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Within budget.\nyuiRenderTelemetry instance = yuiRenderTelemetry(\"workload\")\nint argument_maximumMeanFrameMicroseconds = 1\nint argument_maximumFrameMicroseconds = 1\nint argument_maximumVariancePercent = 1\nint argument_maximumAllocatedBytes = 4\nint argument_maximumRealizedElements = 1\nint argument_maximumLayoutPasses = 1\nint argument_maximumPaintCommands = 1\nint argument_maximumInvalidatedArea = 1\nbool result = instance.WithinBudget(argument_maximumMeanFrameMicroseconds, argument_maximumFrameMicroseconds, argument_maximumVariancePercent, argument_maximumAllocatedBytes, argument_maximumRealizedElements, argument_maximumLayoutPasses, argument_maximumPaintCommands, argument_maximumInvalidatedArea)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertelemetry\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"2d4755481fce22db85e6cad583520387060a8ed1e3b44e83175b2ce13fb02a89","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RenderReport-19","title":"yuiRenderTelemetry.RenderReport","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Render report.\nyuiRenderTelemetry instance = yuiRenderTelemetry(\"workload\")\ntext result = instance.RenderReport()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuirendertelemetry\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"c704e24a19e9d18ee511d71280b8794766613d71c01ad27b358772d4f0b71063","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["workload","warmupSamples","measuredSamples","totalFrameMicroseconds","minimumFrameMicroseconds","maximumFrameMicroseconds","maximumAllocatedBytes","maximumRealizedElements","maximumLayoutPasses","maximumPaintCommands","maximumInvalidatedArea","maximumGlyphCacheBytes","maximumResourceBytes","diagnostic","yuiRenderTelemetry","AddSample","MeanFrameMicroseconds","VariancePercent","WithinBudget","RenderReport"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiRenderTelemetry","json":"https://demonhunterlabs.com/reference/items/ui--yuiRenderTelemetry.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiRenderTelemetry.md"}
