summaryrefslogtreecommitdiff
path: root/src/til_module_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/til_module_context.h')
-rw-r--r--src/til_module_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/til_module_context.h b/src/til_module_context.h
index e4c0bca..cb607f2 100644
--- a/src/til_module_context.h
+++ b/src/til_module_context.h
@@ -17,6 +17,10 @@ struct til_module_context_t {
*/
unsigned refcount;
+
+ /* for profiling */
+ unsigned last_render_duration, max_render_duration;
+ unsigned renders_count;
};
void * til_module_context_new(const til_module_t *module, size_t size, til_stream_t *stream, unsigned seed, unsigned ticks, unsigned n_cpus, til_setup_t *setup);
© All Rights Reserved