3.3. rdma.tools module

These are simple tools used by the implementation. It should probably not be used by end users.

class rdma.tools.SysFSDevice(parent, sys_dir)

Bases: object

Handle to a /dev/ char device kernel interface. This supports the context manager protocol.

close()
rdma.tools.clock_monotonic()

Return the value of CLOCK_MONOTONIC as float seconds. Replace me if Python ever gets this in the standard library. Only works on Linux.

class rdma.tools.finfo(type, mask)

Bases: tuple

mask

Alias for field number 1

type

Alias for field number 0

rdma.tools.struct(name, fields)

Construct a mutable collections.namedtuple with a MASK tracking feature.