![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef PERF_UNIT_H 0003 #define PERF_UNIT_H 0004 0005 #include <stddef.h> 0006 #include <linux/types.h> 0007 0008 struct parse_tag { 0009 char tag; 0010 int mult; 0011 }; 0012 0013 unsigned long parse_tag_value(const char *str, struct parse_tag *tags); 0014 0015 double convert_unit_double(double value, char *unit); 0016 unsigned long convert_unit(unsigned long value, char *unit); 0017 int unit_number__scnprintf(char *buf, size_t size, u64 n); 0018 0019 #endif /* PERF_UNIT_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |