| llama_time_us | R Documentation |
Get current time in microseconds
llama_time_us()
A numeric scalar with the current time in microseconds.
# Measure elapsed time for an operation
t0 <- llama_time_us()
Sys.sleep(0.01)
elapsed_ms <- (llama_time_us() - t0) / 1000
cat("Elapsed:", round(elapsed_ms, 1), "ms\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.