Linux Perf
Util.py File Reference

Go to the source code of this file.

Namespaces

 Util
 

Functions

def Util.avg (total, n)
 
def Util.nsecs (secs, nsecs)
 
def Util.nsecs_secs (nsecs)
 
def Util.nsecs_nsecs (nsecs)
 
def Util.nsecs_str (nsecs)
 
def Util.add_stats (dict, key, value)
 
def Util.clear_term ()
 
def Util.syscall_name (id)
 
def Util.strerror (nr)
 

Variables

int Util.FUTEX_WAIT = 0
 
int Util.FUTEX_WAKE = 1
 
int Util.FUTEX_PRIVATE_FLAG = 128
 
int Util.FUTEX_CLOCK_REALTIME = 256
 
 Util.FUTEX_CMD_MASK = ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME)
 
int Util.NSECS_PER_SEC = 1000000000
 
bool Util.audit_package_warned = False
 
dictionary Util.machine_to_id
 
dictionary Util.machine_id = machine_to_id[os.uname()[4]]