ascii-chat 0.11.33
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 248 of file time.h.

Field Documentation

◆ hh

UT_hash_handle timer_record::hh

uthash handle (makes this hashable by name)

Definition at line 251 of file time.h.

◆ name

char* timer_record::name

Timer name (heap-allocated, unique key)

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

Referenced by timer_start(), and timer_stop().


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