summaryrefslogtreecommitdiff
path: root/llama.h
diff options
context:
space:
mode:
Diffstat (limited to 'llama.h')
-rw-r--r--llama.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llama.h b/llama.h
index 7bb681d6..b38d3be2 100644
--- a/llama.h
+++ b/llama.h
@@ -10,6 +10,7 @@
#endif // GGML_USE_CUBLAS
#include <stddef.h>
#include <stdint.h>
+#include <stdio.h>
#include <stdbool.h>
#ifdef LLAMA_SHARED
@@ -520,6 +521,8 @@ extern "C" {
// If this is not called, or NULL is supplied, everything is output on stderr.
LLAMA_API void llama_log_set(llama_log_callback log_callback, void * user_data);
+ LLAMA_API void llama_dump_timing_info_yaml(FILE * stream, const llama_context * ctx);
+
#ifdef __cplusplus
}
#endif