Learn R Programming

ggmlR (version 0.6.1)

ggml_time_init: Initialize GGML Timer

Description

Initializes the GGML timing system. Call this once at the beginning of the program before using ggml_time_ms() or ggml_time_us().

Usage

ggml_time_init()

Arguments

Value

NULL (invisible)

Examples

Run this code
# \donttest{
ggml_time_init()
start <- ggml_time_ms()
Sys.sleep(0.01)
elapsed <- ggml_time_ms() - start
# }

Run the code above in your browser using DataLab