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-matching/src/init/round_scheduler.rs

cre8-app-matching · module init::round_scheduler · src · 413 lines (296 code, 74 comment) · sha 622eff64170575e6

Items

const SYNC_BOOK_LIMIT const DEBOUNCE_MS const LOCK_NAME enum Trigger impl Trigger enum BookRead enum Mode impl Mode struct RoundStatus impl RoundStatus struct Policy impl Default for Policy struct State impl State type SharedState static STATES struct Decision struct Permit impl Permit impl Drop for Permit

Functions

By call-graph weight (PageRank; 1.0 is the average function). 24 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
requestsrc/init/round_scheduler.rs:185fn3510932.8
State::pendingsrc/init/round_scheduler.rs:146method32201.7
ticketsrc/init/round_scheduler.rs:167fn31411.5
submitsrc/init/round_scheduler.rs:284fn41421.4
rounds_startedsrc/init/round_scheduler.rs:260fn31510.9
readsrc/init/round_scheduler.rs:289fn31310.9
statesrc/init/round_scheduler.rs:159fn51110.9
Trigger::from_flagssrc/init/round_scheduler.rs:46method93100.9
set_policysrc/init/round_scheduler.rs:266fn31110.8
is_runningsrc/init/round_scheduler.rs:172fn31110.6
elapsesrc/init/round_scheduler.rs:272fn51110.6
Mode::as_strsrc/init/round_scheduler.rs:84method84000.5
RoundStatus::to_jsonsrc/init/round_scheduler.rs:105method71000.5
Policy::defaultsrc/init/round_scheduler.rs:123trait impl31000.5
State::statussrc/init/round_scheduler.rs:150method31010.5
Permit::finishsrc/init/round_scheduler.rs:236method71010.5
Permit::dropsrc/init/round_scheduler.rs:246trait impl103010.5
submit_at_or_below_the_limit_is_due_at_oncesrc/init/round_scheduler.rs:294fn121010.5
queued_requests_are_served_by_one_round_once_the_interval_passessrc/init/round_scheduler.rs:308fn201030.5
force_ignores_the_book_size_and_the_intervalsrc/init/round_scheduler.rs:330fn81020.5
a_request_finding_a_round_in_flight_stays_recordedsrc/init/round_scheduler.rs:340fn152030.5
one_permit_at_a_time_across_threadssrc/init/round_scheduler.rs:357fn303030.5
a_failed_round_records_its_request_againsrc/init/round_scheduler.rs:389fn91030.5
a_request_recorded_after_the_book_was_read_stays_recordedsrc/init/round_scheduler.rs:400fn131030.5

Source not readable from this process.