MCPcopy Create free account
hub / github.com/mininet/mininet / rtInfo

Method rtInfo

mininet/node.py:788–793  ·  view source on GitHub ↗

Internal method: return parameters for RT bandwidth

( self, f )

Source from the content-addressed store, hash-verified

786 return lastword
787
788 def rtInfo( self, f ):
789 "Internal method: return parameters for RT bandwidth"
790 pstr, qstr = 'rt_period_us', 'rt_runtime_us'
791 # RT uses wall clock time for period and quota
792 quota = int( self.period_us * f )
793 return pstr, qstr, self.period_us, quota
794
795 def cfsInfo( self, f ):
796 "Internal method: return parameters for CFS bandwidth"

Callers 1

setCPUFracMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected