ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
timer_record Struct Reference

Individual timer record for a named timing operation. More...

#include <include/ascii-chat/util/time.h>

Data Fields

char * name
 Timer name (heap-allocated, unique key).
uint64_t start_ticks
 Start time in sokol ticks.
UT_hash_handle hh
 uthash handle (makes this hashable by name)

Detailed Description

Individual timer record for a named timing operation.

Definition at line 264 of file time.h.

Field Documentation

◆ hh

UT_hash_handle timer_record::hh

uthash handle (makes this hashable by name)

Definition at line 267 of file time.h.

◆ name

char* timer_record::name

Timer name (heap-allocated, unique key).

Definition at line 265 of file time.h.

Referenced by timer_start(), timer_stop(), and timer_system_destroy().

◆ start_ticks

uint64_t timer_record::start_ticks

Start time in sokol ticks.

Definition at line 266 of file time.h.

Referenced by timer_start(), and timer_stop().


The documentation for this struct was generated from the following file: