1 viewer
rust 1,849,384 · typescript 232,426 · javascript 131,078 · python 19,227 · 6,366 files · digest 815dcbacab85 · built in 1.4 s · crystals off
crates/cre8-app-intelligence/src/pool_registry.rs
Items
static POOLS struct ComputeBucket impl ComputeBucket struct ComputeAggregate impl ComputeAggregate static AGG_STARTED_AT_MS static AGG_TOTAL_CALLS static AGG_TOTAL_PROMPT static AGG_TOTAL_COMPLETION static AGG_TOTAL_429 static B type ManifoldEmitter type PreflightChecker static PREFLIGHT_CHECKER enum CallResult struct PoolCallContext
Functions
By call-graph weight (PageRank; 1.0 is the average function). 23 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| get_or_initsrc/pool_registry.rs:240 | fn | 15 | 4 | 9 | 5 | 2 | |
| with_pool_failoversrc/pool_registry.rs:324 | fn | 86 | 6 | 10 | 8 | 2 | |
| install_poolsrc/pool_registry.rs:424 | fn | 5 | 1 | 4 | 4 | 1.2 | |
| poolssrc/pool_registry.rs:45 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| snapshot_allsrc/pool_registry.rs:259 | fn | 13 | 1 | 2 | 2 | 0.9 | |
| agg_bucketssrc/pool_registry.rs:103 | fn | 4 | 1 | 2 | 0 | 0.9 | |
| update_aggregatesrc/pool_registry.rs:114 | fn | 30 | 6 | 1 | 4 | 0.7 | |
| emit_observationsrc/pool_registry.rs:193 | fn | 3 | 1 | 1 | 1 | 0.7 | |
| check_preflightsrc/pool_registry.rs:229 | fn | 6 | 2 | 1 | 0 | 0.7 | |
| pool_next_available_secssrc/pool_registry.rs:411 | fn | 7 | 2 | 1 | 0 | 0.7 | |
| install_preflight_checkersrc/pool_registry.rs:221 | fn | 3 | 1 | 2 | 0 | 0.6 | |
| install_manifold_emittersrc/pool_registry.rs:182 | fn | 3 | 1 | 1 | 1 | 0.5 | |
| ComputeBucket::avg_latency_mssrc/pool_registry.rs:72 | method | 3 | 2 | 0 | 0 | 0.5 | |
| ComputeBucket::total_tokenssrc/pool_registry.rs:75 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ComputeAggregate::total_tokenssrc/pool_registry.rs:92 | method | 3 | 1 | 0 | 0 | 0.5 | |
| compute_aggregatesrc/pool_registry.rs:147 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| has_manifold_emittersrc/pool_registry.rs:189 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| has_preflight_checkersrc/pool_registry.rs:225 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| snapshot_returns_only_non_empty_poolssrc/pool_registry.rs:431 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| failover_first_call_succeeds_after_one_429src/pool_registry.rs:442 | fn | 29 | 2 | 0 | 2 | 0.5 | |
| failover_returns_pool_exhausted_when_all_429src/pool_registry.rs:473 | fn | 22 | 2 | 0 | 2 | 0.5 | |
| preflight_denial_short_circuits_before_dispatchsrc/pool_registry.rs:497 | fn | 44 | 1 | 0 | 4 | 0.5 | |
| no_pool_returns_clear_errorsrc/pool_registry.rs:543 | fn | 19 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.