![]() |
Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
|
Bounded extension source. Define measurements once, capture a generation before work, then record it. More...
Public Member Functions | |
| bool | Define (string name, TelemetryAvailability availability=TelemetryAvailability.NotYetSampled, TelemetryMetricKind kind=TelemetryMetricKind.Sample) |
| Defines a measurement before use. Include units and scope in its name. | |
| long | BeginSample () |
| Captures an epoch before measured work; zero means disabled. | |
| void | Record (long generation, string metric, double value) |
| Records a finite observation without retaining raw samples. | |
| void | Dispose () |
| Permanently retires the source; late observations are ignored. | |
Properties | |
| long | Id [get] |
| Session-local identity, unchanged by collector reset or temporary context loss. | |
| string | Name [get] |
| Source label. | |
| string | Backend [get] |
| Backend label. | |
Bounded extension source. Define measurements once, capture a generation before work, then record it.
Definition at line 302 of file RuntimeProfiler.cs.
| long Gondwana.Diagnostics.TelemetrySource.BeginSample | ( | ) |
Captures an epoch before measured work; zero means disabled.
| bool Gondwana.Diagnostics.TelemetrySource.Define | ( | string | name, |
| TelemetryAvailability | availability = TelemetryAvailability.NotYetSampled, | ||
| TelemetryMetricKind | kind = TelemetryMetricKind.Sample ) |
Defines a measurement before use. Include units and scope in its name.
| name | Bounded unique metric name, such as update.cpu.ms. |
| availability | Unsupported, NotApplicable, or NotYetSampled; Available is normalized to NotYetSampled. |
| kind | Interpretation of observations across windows. |
| void Gondwana.Diagnostics.TelemetrySource.Dispose | ( | ) |
Permanently retires the source; late observations are ignored.
| void Gondwana.Diagnostics.TelemetrySource.Record | ( | long | generation, |
| string | metric, | ||
| double | value ) |
Records a finite observation without retaining raw samples.
| generation | Token captured before the measured operation. |
| metric | Previously defined measurement name. |
| value | Value in the metric's declared units. |
|
get |
Backend label.
Definition at line 319 of file RuntimeProfiler.cs.
|
get |
Session-local identity, unchanged by collector reset or temporary context loss.
Definition at line 315 of file RuntimeProfiler.cs.
|
get |
Source label.
Definition at line 317 of file RuntimeProfiler.cs.