view third_party/wrk/src/units.h @ 258:60a876c4587a

[ui] Add semantic primitive ownership Build a layered Zenbu token and sizing system, make authored controls use native-underneath primitives, migrate mrjunejune without imposing visual surfaces, and document/enforce HTML ownership in the catalog and wiki. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Wed, 05 Aug 2026 05:25:40 -0700
parents 94705b5986b3
children
line wrap: on
line source

#ifndef UNITS_H
#define UNITS_H

char *format_binary(long double);
char *format_metric(long double);
char *format_time_us(long double);
char *format_time_s(long double);

int scan_metric(char *, uint64_t *);
int scan_time(char *, uint64_t *);

#endif /* UNITS_H */