Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-app-intelligence/src/pool_registry.rs

cre8-app-intelligence · module pool_registry · src · 562 lines (357 code, 158 comment) · sha 0f7693077b3fafa1

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
get_or_initsrc/pool_registry.rs:240fn154952
with_pool_failoversrc/pool_registry.rs:324fn8661082
install_poolsrc/pool_registry.rs:424fn51441.2
poolssrc/pool_registry.rs:45fn31201.1
snapshot_allsrc/pool_registry.rs:259fn131220.9
agg_bucketssrc/pool_registry.rs:103fn41200.9
update_aggregatesrc/pool_registry.rs:114fn306140.7
emit_observationsrc/pool_registry.rs:193fn31110.7
check_preflightsrc/pool_registry.rs:229fn62100.7
pool_next_available_secssrc/pool_registry.rs:411fn72100.7
install_preflight_checkersrc/pool_registry.rs:221fn31200.6
install_manifold_emittersrc/pool_registry.rs:182fn31110.5
ComputeBucket::avg_latency_mssrc/pool_registry.rs:72method32000.5
ComputeBucket::total_tokenssrc/pool_registry.rs:75method31000.5
ComputeAggregate::total_tokenssrc/pool_registry.rs:92method31000.5
compute_aggregatesrc/pool_registry.rs:147fn131020.5
has_manifold_emittersrc/pool_registry.rs:189fn31010.5
has_preflight_checkersrc/pool_registry.rs:225fn31000.5
snapshot_returns_only_non_empty_poolssrc/pool_registry.rs:431fn91020.5
failover_first_call_succeeds_after_one_429src/pool_registry.rs:442fn292020.5
failover_returns_pool_exhausted_when_all_429src/pool_registry.rs:473fn222020.5
preflight_denial_short_circuits_before_dispatchsrc/pool_registry.rs:497fn441040.5
no_pool_returns_clear_errorsrc/pool_registry.rs:543fn191010.5

Source not readable from this process.