Skip to content

HeinrichHartmann/libq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example Usage

import libq

workers = [ libq.ConstWorker(service_time = 10) for _ in range(100) ]
qsystem = libq.QSystem(workers, discipline="fifo")

workload = ([10] * 100) + ([1000] * 10) + ([10] * 100)

# Run Simulation
stats = libq.run(worload, qsystem, step=20, deplete=True)

# Get Results as Pandas DataFrame
df = stats.df(percentiles=[100, 90, 50])

A more complete example is available in the examples directory:

Example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published