module Llama.Internal.Foreign.Performance (
c_llama_perf_context
, c_llama_perf_context_print
, c_llama_perf_context_reset
, c_llama_perf_sampler
, c_llama_perf_sampler_print
, c_llama_perf_sampler_reset
) where
import Llama.Internal.Types
import Foreign
foreign import ccall "llama_perf_context_into"
c_llama_perf_context ::
CLlamaContext ->
Ptr LlamaPerfContextData ->
IO ()
foreign import ccall "llama_perf_context_print"
c_llama_perf_context_print ::
CLlamaContext ->
IO ()
foreign import ccall "llama_perf_context_reset"
c_llama_perf_context_reset ::
CLlamaContext ->
IO ()
foreign import ccall "llama_perf_sampler_into"
c_llama_perf_sampler ::
(Ptr LlamaSampler) ->
Ptr LlamaPerfSamplerData ->
IO ()
foreign import ccall "llama_perf_sampler_print"
c_llama_perf_sampler_print ::
(Ptr LlamaSampler) ->
IO ()
foreign import ccall "llama_perf_sampler_reset"
c_llama_perf_sampler_reset ::
Ptr LlamaSampler ->
IO ()