ggml_time_us: Get Time in Microseconds

View source: R/ggml.R

ggml_time_usR Documentation

Get Time in Microseconds

Description

Returns the current time in microseconds since the timer was initialized. More precise than ggml_time_ms() for micro-benchmarking.

Usage

ggml_time_us()

Value

Numeric value representing microseconds

Examples


ggml_time_init()
start <- ggml_time_us()
Sys.sleep(0.001)
elapsed <- ggml_time_us() - start


ggmlR documentation built on July 14, 2026, 1:08 a.m.