wcx789ll/moonsim/stats does not have a README file
pub(all) struct Histogram {
name : String
count : Int
sum : Double
min_val : Double
max_val : Double
bin_width : Double
min_bin : Double
// private fields
}pub(all) struct PercentileTracker {
name : String
// private fields
}pub(all) struct RollingSummary {
name : String
window_size : Double
// private fields
}pub(all) struct SlaMonitor {
name : String
threshold : Double
total : Int
violations : Int
}pub(all) struct ThroughputTracker {
name : String
count : Int
start_time : Double
last_time : Double
}pub(all) struct TimeWeightedSummary {
name : String
last_time : Double
last_value : Double
time_weighted_sum : Double
total_time : Double
min_value : Double
max_value : Double
}fn TimeWeightedSummary::new(name : String, initial_time : Double, initial_value : Double) -> TimeWeightedSummaryfn TimeWeightedSummary::update(self : TimeWeightedSummary, current_time : Double, new_value : Double) -> UnitA high-performance deterministic discrete-event and multi-agent systems simulation framework in MoonBit