ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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 260 of file time.h.

Field Documentation

◆ hh

UT_hash_handle timer_record::hh

uthash handle (makes this hashable by name)

Definition at line 263 of file time.h.

◆ name

char* timer_record::name

Timer name (heap-allocated, unique key).

Definition at line 261 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 262 of file time.h.

Referenced by timer_start(), and timer_stop().


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