Skip to documentation
SLOP

tiny.tracy.PlotUnit

Reference tiny.tracy PlotUnit

Defined in tiny.tracy.

API (9)

Actions

Public operations.

Fields and members

Public fields and members.

No direct callersNo direct callstiny.tracyPlotUnit
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/tracy/src/runtime.zig:14

zig
pub const PlotUnit = union(enum) {    number,    nanoseconds,    bytes,    count,    percent,    hertz,    watts,    custom: []const u8,    pub fn tag(self: PlotUnit) []const u8 {        return switch (self) {            .number => "number",            .nanoseconds => "nanoseconds",            .bytes => "bytes",            .count => "count",            .percent => "percent",            .hertz => "hertz",            .watts => "watts",            .custom => |text| text,        };    }};

Source: lib/tracy/src/root.zig:81

zig
pub const PlotUnit = runtime.PlotUnit;

Audit

Definitions2
Public names2
Members8
Version26.7.0
Revisiondaab053ee433