|
Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
|
Per-snapshot runtime metrics used by the JIT policy. More...
#include <jit_policy.h>
Data Fields | |
| atomic_uint_fast64_t | action_lookup_count |
| Total action table lookups. | |
| atomic_int | is_jitted |
| 1 if JIT code is attached | |
| atomic_int | jit_in_progress |
| 1 if background compile active | |
| atomic_uint_fast64_t | parse_count |
| Number of parse sessions. | |
| atomic_uint_fast64_t | total_parse_time_ns |
| Cumulative parse wall-clock (ns) | |
| atomic_uint_fast64_t | total_tokens_parsed |
| Cumulative tokens across all parses. | |
Per-snapshot runtime metrics used by the JIT policy.
All counters are atomic so they can be updated from any parser thread without locking.
Definition at line 38 of file jit_policy.h.
| atomic_uint_fast64_t JITMetrics::action_lookup_count |
Total action table lookups.
Definition at line 41 of file jit_policy.h.
| atomic_int JITMetrics::is_jitted |
1 if JIT code is attached
Definition at line 43 of file jit_policy.h.
| atomic_int JITMetrics::jit_in_progress |
1 if background compile active
Definition at line 44 of file jit_policy.h.
| atomic_uint_fast64_t JITMetrics::parse_count |
Number of parse sessions.
Definition at line 39 of file jit_policy.h.
| atomic_uint_fast64_t JITMetrics::total_parse_time_ns |
Cumulative parse wall-clock (ns)
Definition at line 40 of file jit_policy.h.
| atomic_uint_fast64_t JITMetrics::total_tokens_parsed |
Cumulative tokens across all parses.
Definition at line 42 of file jit_policy.h.