{"id":"compute.device--computeRuntimeTelemetry","name":"computeRuntimeTelemetry","owner":"yeho","package":"compute.device","kind":"thing","signature":"external thing computeRuntimeTelemetry","description":"A compute runtime telemetry record carrying allocationCount, releaseCount, bytesAllocated, bytesReleased, bytesRetained, and related state.","context":"Inspect device capability catalogs and model resource lifetimes and placement decisions.","parameters":[],"returns":"void","members":[{"name":"allocationCount","kind":"field","type":"int","description":"Stores allocation count as int.","signature":"int allocationCount","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"releaseCount","kind":"field","type":"int","description":"Stores release count as int.","signature":"int releaseCount","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"bytesAllocated","kind":"field","type":"int","description":"Stores bytes allocated as int.","signature":"int bytesAllocated","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"bytesReleased","kind":"field","type":"int","description":"Stores bytes released as int.","signature":"int bytesReleased","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"bytesRetained","kind":"field","type":"int","description":"Stores bytes retained as int.","signature":"int bytesRetained","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"bytesCopied","kind":"field","type":"int","description":"Stores bytes copied as int.","signature":"int bytesCopied","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"bytesMapped","kind":"field","type":"int","description":"Stores bytes mapped as int.","signature":"int bytesMapped","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"submissionCount","kind":"field","type":"int","description":"Stores submission count as int.","signature":"int submissionCount","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"completedCount","kind":"field","type":"int","description":"Stores completed count as int.","signature":"int completedCount","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"cancellationCount","kind":"field","type":"int","description":"Stores cancellation count as int.","signature":"int cancellationCount","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"timeoutCount","kind":"field","type":"int","description":"Stores timeout count as int.","signature":"int timeoutCount","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"failureCount","kind":"field","type":"int","description":"Stores failure count as int.","signature":"int failureCount","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"implicitSynchronizationCount","kind":"field","type":"int","description":"Stores implicit synchronization count as int.","signature":"int implicitSynchronizationCount","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"deviceLossCount","kind":"field","type":"int","description":"Stores device loss count as int.","signature":"int deviceLossCount","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"computeRuntimeTelemetry","kind":"constructor","parameters":[],"returns":"void","signature":"computeRuntimeTelemetry()","description":"Compute runtime telemetry.","tags":["thing","constructor","compute.device"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","compute.device"],"exampleId":"method-Describe-15","updated":"2026-09-09"}],"tags":["compute","compute.device","cpu","device","method","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/device/resource_runtime.yh","line":82,"sha256":"2a92eeb7f80b133685f1201e550fc5c4e9cd54eda12e6a9f9d05bf033efb60f0"},"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 computeRuntimeTelemetry","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.device\n\n// Inspect device capability catalogs and model resource lifetimes and placement decisions.\ncomputeRuntimeTelemetry sample = computeRuntimeTelemetry()\nConsole.Log(Text.From(sample.allocationCount))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_device__computeruntimetelemetry\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.buffer\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/buffer\"\n\n[[dependencies]]\npackage = \"compute.device\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/device\"\n\n[[dependencies]]\npackage = \"compute.tensor\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/tensor\"\n\n[[dependencies]]\npackage = \"console\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/console\"\n\n[[dependencies]]\npackage = \"diagnostics\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/diagnostics\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"d02e5c44e2ae6c520481cbdb1017b7b2b5b79979602fc6f0aef61412fce93d39","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-15","title":"computeRuntimeTelemetry.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.device\n\n// Describe.\ncomputeRuntimeTelemetry instance = computeRuntimeTelemetry()\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_device__computeruntimetelemetry\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.buffer\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/buffer\"\n\n[[dependencies]]\npackage = \"compute.device\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/device\"\n\n[[dependencies]]\npackage = \"compute.tensor\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/tensor\"\n\n[[dependencies]]\npackage = \"console\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/console\"\n\n[[dependencies]]\npackage = \"diagnostics\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/diagnostics\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"fe5d9c782c790b7f0b48fa1f56b2b4ec7b1d0a7575cdad2c3f4ea98079e4f633","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["allocationCount","releaseCount","bytesAllocated","bytesReleased","bytesRetained","bytesCopied","bytesMapped","submissionCount","completedCount","cancellationCount","timeoutCount","failureCount","implicitSynchronizationCount","deviceLossCount","computeRuntimeTelemetry","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.device--computeRuntimeTelemetry","json":"https://demonhunterlabs.com/reference/items/compute.device--computeRuntimeTelemetry.json","markdown":"https://demonhunterlabs.com/reference/text/compute.device--computeRuntimeTelemetry.md"}
