Linux Perf
units.h File Reference
#include <stddef.h>
#include <linux/types.h>
Include dependency graph for units.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  parse_tag
 

Functions

unsigned long parse_tag_value (const char *str, struct parse_tag *tags)
 
unsigned long convert_unit (unsigned long value, char *unit)
 
int unit_number__scnprintf (char *buf, size_t size, u64 n)
 

Function Documentation

◆ convert_unit()

unsigned long convert_unit ( unsigned long  value,
char *  unit 
)

Definition at line 36 of file units.c.

◆ parse_tag_value()

unsigned long parse_tag_value ( const char *  str,
struct parse_tag tags 
)

Definition at line 10 of file units.c.

◆ unit_number__scnprintf()

int unit_number__scnprintf ( char *  buf,
size_t  size,
u64  n 
)

Definition at line 58 of file units.c.