R Under development (unstable) (2025-08-17 r88631 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # overhead.R --- Test function overhead > > library(usl) > > options(digits = 3, scipen = 6) > > data(specsdm91) > > overhead(usl(throughput ~ load, specsdm91)) ideal contention coherency 1 1.00000 0.0000 0.000000 2 0.05556 0.0262 0.000887 3 0.02778 0.0270 0.001826 4 0.01389 0.0273 0.003705 5 0.00926 0.0275 0.005584 6 0.00694 0.0275 0.007462 7 0.00463 0.0276 0.011219 > > overhead(usl(throughput ~ load, specsdm91), + newdata = data.frame(load = c(1,2,4))) ideal contention coherency 1 1.00 0.0000 0.0000000 2 0.50 0.0139 0.0000522 3 0.25 0.0208 0.0001565 > > proc.time() user system elapsed 0.25 0.04 0.28