{"id":"compute.profiling--executionEvent","name":"executionEvent","owner":"yeho","package":"compute.profiling","kind":"thing","signature":"external thing executionEvent","description":"A execution event record carrying label, stage, backend, subject, timing, and related state.","context":"Collect and describe compute timing, work, and profiling records.","parameters":[],"returns":"void","members":[{"name":"label","kind":"field","type":"text","description":"Stores label as text.","signature":"text label","tags":["thing","field","compute.profiling"],"updated":"2026-09-09"},{"name":"stage","kind":"field","type":"text","description":"Stores stage as text.","signature":"text stage","tags":["thing","field","compute.profiling"],"updated":"2026-09-09"},{"name":"backend","kind":"field","type":"text","description":"Stores backend as text.","signature":"text backend","tags":["thing","field","compute.profiling"],"updated":"2026-09-09"},{"name":"subject","kind":"field","type":"text","description":"Stores subject as text.","signature":"text subject","tags":["thing","field","compute.profiling"],"updated":"2026-09-09"},{"name":"timing","kind":"field","type":"profileTiming","description":"Stores timing as profileTiming.","signature":"profileTiming timing","tags":["thing","field","compute.profiling"],"updated":"2026-09-09"},{"name":"status","kind":"field","type":"text","description":"Stores status as text.","signature":"text status","tags":["thing","field","compute.profiling"],"updated":"2026-09-09"},{"name":"note","kind":"field","type":"text","description":"Stores note as text.","signature":"text note","tags":["thing","field","compute.profiling"],"updated":"2026-09-09"},{"name":"executionEvent","kind":"constructor","parameters":[{"name":"label","type":"text","description":"Label."},{"name":"stage","type":"text","description":"Stage."},{"name":"backend","type":"text","description":"Backend."},{"name":"subject","type":"text","description":"Subject."},{"name":"timing","type":"profileTiming","description":"Timing."},{"name":"status","type":"text","description":"Status."},{"name":"note","type":"text","description":"Note."}],"returns":"void","signature":"executionEvent(text label, text stage, text backend, text subject, profileTiming timing, text status, text note)","description":"Execution event.","tags":["thing","constructor","compute.profiling"],"updated":"2026-09-09"},{"name":"IsSuccess","kind":"method","parameters":[],"returns":"bool","signature":"IsSuccess() returns bool","description":"Is success.","tags":["thing","method","compute.profiling"],"exampleId":"method-IsSuccess-8","updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","compute.profiling"],"exampleId":"method-Describe-9","updated":"2026-09-09"}],"tags":["compute","compute.profiling","cpu","method","profiling","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/profiling/profiling.yh","line":416,"sha256":"067dd2a8894dc02cf9197cfff4d83258fae401d7f03ae44b9f38d3c68bed1e7b"},"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 executionEvent","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.profiling\n\n// Collect and describe compute timing, work, and profiling records.\nexecutionEvent sample = executionEvent(\"Player health\", \"stage\", \"cpu-oracle\", \"subject\", profileTiming(\"Player health\", \"stage\", \"origin\", 1, 1, \"note\"), \"ready\", \"note\")\nConsole.Log(Text.From(sample.label))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_profiling__executionevent\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.profiling\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/profiling\"\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":"f99738ebfd5434c1e4e39063d565823cbf046c5c49a08c5860fde264879d25ac","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IsSuccess-8","title":"executionEvent.IsSuccess","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.profiling\n\n// Is success.\nexecutionEvent instance = executionEvent(\"Player health\", \"stage\", \"cpu-oracle\", \"subject\", profileTiming(\"Player health\", \"stage\", \"origin\", 1, 1, \"note\"), \"ready\", \"note\")\nbool result = instance.IsSuccess()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_profiling__executionevent\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.profiling\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/profiling\"\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":"4f9643127ee9986d822228316f44e9813330de581d085da9de5c260c83581796","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-9","title":"executionEvent.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.profiling\n\n// Describe.\nexecutionEvent instance = executionEvent(\"Player health\", \"stage\", \"cpu-oracle\", \"subject\", profileTiming(\"Player health\", \"stage\", \"origin\", 1, 1, \"note\"), \"ready\", \"note\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_profiling__executionevent\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.profiling\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/profiling\"\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":"88972d13e453e8611d7c48c7845ee09e8b135d531b276601136b466e80729d9d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["label","stage","backend","subject","timing","status","note","executionEvent","IsSuccess","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.profiling--executionEvent","json":"https://demonhunterlabs.com/reference/items/compute.profiling--executionEvent.json","markdown":"https://demonhunterlabs.com/reference/text/compute.profiling--executionEvent.md"}
