Home
last modified time | relevance | path

Searched full:decimal (Results 1 – 25 of 255) sorted by relevance

1234567891011

/linux/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py32 from decimal import *
220 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
228 duration_ms = Decimal(duration_us) / Decimal(1000)
231 … elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time
232 load = Decimal(int(mperf)*100)/ Decimal(tsc)
233 freq_ghz = Decimal(freq)/Decimal(1000000)
/linux/drivers/hwmon/
H A Dsbtsi_temp.c21 * corresponding decimal parts.
47 * the "low byte" encode in base-2 the decimal portion.
54 static inline int sbtsi_reg_to_mc(s32 integer, s32 decimal) in sbtsi_reg_to_mc() argument
56 return ((integer << 3) + (decimal >> 5)) * 125; in sbtsi_reg_to_mc()
65 static inline void sbtsi_mc_to_reg(s32 temp, u8 *integer, u8 *decimal) in sbtsi_mc_to_reg() argument
69 *decimal = (temp & 0x7) << 5; in sbtsi_mc_to_reg()
83 * decimal part of CPU temp for atomic reads. If bit == 0, in sbtsi_read()
84 * reading integer part triggers latching of the decimal part, in sbtsi_read()
/linux/tools/perf/scripts/python/
H A Dtask-analyzer.py17 import decimal
426 # The size of the decimal after sum,mean and median varies, thus we cut
427 # the decimal number, by rounding it. It has no impact on the output,
428 # because we have a precision of the decimal points at the output.
554 return self._time_out * decimal.Decimal(factor)
559 return self._time_in * decimal.Decimal(factor)
563 return (self._time_out - self._time_in) * decimal.Decimal(factor)
772 To prevent float rounding errors we use Decimal internally
774 return decimal.Decimal(time_ns) / decimal.Decimal(1e9)
872 if time >= decimal.Decimal(lower_time_limit):
[all …]
/linux/Documentation/ABI/testing/
H A Dima_policy43 uid:= decimal value
44 euid:= decimal value
45 gid:= decimal value
46 egid:= decimal value
47 fowner:= decimal value
48 fgroup:= decimal value
71 pcr:= decimal value
H A Dsysfs-bus-usb-devices-usbsevseg41 Description: Controls the decimal places on the device.
42 To set the nth decimal place, give this field
44 the value k and has 1 or more decimal places set,
H A Dsysfs-secvar68 Description: Config version as reported by the hypervisor in ASCII decimal
77 represented in ASCII decimal format.
89 Description: Total size of the PLPKS in bytes, represented in ASCII decimal
98 in ASCII decimal format.
H A Dsysfs-class-net112 as a decimal value. Some NICs have multiple independent ports
194 decimal number. This attribute is used for mapping an interface
205 the interface is linked to. Format is decimal. This attribute is
214 Indicates the interface link mode, as a decimal number. This
229 bytes, and in decimal format. Specific values depends on the
238 Indicates the interface network device group, as a decimal
298 Indicates the interface protocol type as a decimal value. See
H A Dsysfs-devices-mmc10 Unit Byte. Format decimal.
21 Unit KByte. Format decimal.
/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py37 from decimal import *
461 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
469 duration_ms = Decimal(duration_us) / Decimal(1000)
472 … elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time
473 load = Decimal(int(mperf)*100)/ Decimal(tsc)
474 freq_ghz = Decimal(freq)/Decimal(1000000)
477 tsc_ghz = Decimal(0)
478 if duration_ms != Decimal(0) :
479 tsc_ghz = Decimal(tsc)/duration_ms/Decimal(1000000)
/linux/Documentation/usb/
H A Dmisc_usbsevseg.rst45 5. Set the decimal places.
46 The device has either 6 or 8 decimal points.
47 to set the nth decimal place calculate 10 ** n
50 For example, to set the 0th and 3rd decimal place
/linux/drivers/acpi/acpica/
H A Dutstrtoul64.c68 * integer width. Supports Decimal, Hex, and Octal strings.
84 u32 base = 10; /* Default is decimal */ in acpi_ut_strtoul64()
170 * Base is always 16, either with or without the 0x prefix. Decimal and
247 * main restriction is that only hex and decimal are supported.
255 * to_integer ("1000") Decimal
260 * 1) The input string is either a decimal or hexadecimal numeric string.
261 * A hex value must be prefixed by "0x" or it is interpreted as decimal.
290 u32 base = 10; /* Default is decimal */ in acpi_ut_explicit_strtoul64()
299 * Only Hex and Decimal are supported, as per the ACPI specification. in acpi_ut_explicit_strtoul64()
300 * A "0x" prefix indicates hex; otherwise decimal is assumed. in acpi_ut_explicit_strtoul64()
/linux/arch/alpha/include/uapi/asm/
H A Dgentrap.h17 #define GEN_DECOVF -8 /* decimal overflow (for COBOL??) */
18 #define GEN_DECDIV -9 /* decimal division by zero */
19 #define GEN_DECINV -10 /* invalid decimal operand */
/linux/fs/smb/common/
H A Dsmbacl.h48 * The fields are unsigned values in decimal. So:
50 * u8: max 3 bytes in decimal
51 * u32: max 10 bytes in decimal
/linux/drivers/scsi/
H A Dscsi_proc.c325 * @host: user-supplied decimal integer
326 * @channel: user-supplied decimal integer
327 * @id: user-supplied decimal integer
328 * @lun: user-supplied decimal integer
358 * @host: user-supplied decimal integer
359 * @channel: user-supplied decimal integer
360 * @id: user-supplied decimal integer
361 * @lun: user-supplied decimal integer
/linux/lib/
H A Dparser.c185 * match_int - scan a decimal representation of an integer from a substring_t
189 * Description: Attempts to parse the &substring_t @s as a decimal integer.
201 * match_uint - scan a decimal representation of an integer from a substring_t
205 * Description: Attempts to parse the &substring_t @s as a decimal integer.
222 * match_u64 - scan a decimal representation of a u64 from
227 * Description: Attempts to parse the &substring_t @s as a long decimal
H A Dbitmap-str.c49 * Output format is a comma-separated list of decimal numbers and
71 * true: print in decimal list format
106 * bitmask and decimal list to userspace by sysfs ABI.
156 * and it can break the size limit of converted decimal list and hexadecimal
188 * bitmap_print_list_to_buf - convert bitmap to decimal list format ASCII string
353 * Input format is a comma-separated list of decimal numbers and
355 * decimal numbers, the smallest and largest bit numbers set in
/linux/drivers/iio/test/
H A Diio-test-rescale.c329 * INT_PLUS_{MICRO,NANO} decimal part overflow
332 .name = "decimal overflow IIO_VAL_INT_PLUS_NANO, positive",
341 .name = "decimal overflow IIO_VAL_INT_PLUS_NANO, negative",
350 .name = "decimal overflow IIO_VAL_INT_PLUS_NANO, negative schan",
359 .name = "decimal overflow IIO_VAL_INT_PLUS_MICRO, positive",
368 .name = "decimal overflow IIO_VAL_INT_PLUS_MICRO, negative",
377 .name = "decimal overflow IIO_VAL_INT_PLUS_MICRO, negative schan",
600 * the multiplier for the first decimal place. in iio_str_to_nano()
/linux/tools/power/cpupower/utils/helpers/
H A Dbitmask.c88 * character in the sscanf input string was not a decimal number.
243 * Helper routine for bitmask_displaylist(). Write decimal number
262 * Write decimal list representation of bmp to buf.
264 * Output format is a comma-separated list of decimal numbers and
266 * decimal numbers, the smallest and largest bit numbers set in
/linux/Documentation/ABI/stable/
H A Dprocfs-audit_loginuid9 decimal unsigned int (%u, u32). If it is unset,
24 audit login session ID of process $pid as a decimal
/linux/tools/perf/pmu-events/arch/s390/cf_z16/
H A Dextended.json370 "BriefDescription": "Binary Coded Decimal to Decimal Floating Point conversions",
371 …t of floating point execution slots used for finished Binary Coded Decimal to Decimal Floating Poi…
377 "BriefDescription": "Count finished vector arithmetic Binary Coded Decimal instructions",
378 …g point execution slots used for finished vector arithmetic Binary Coded Decimal instructions. Ins…
384 "BriefDescription": "Decimal instruction dispatched",
385 …"PublicDescription": "Decimal instruction dispatched. Instructions: CVB, CVD, AP, CP, DP, ED, EDMK…
/linux/arch/m68k/fpsp040/
H A Dbinstr.S10 | lword of the packed decimal memory string.)
15 | The 64-bit binary is assumed to have a decimal point before
18 | msb form a decimal digit. This process is iterated until
/linux/arch/sparc/include/uapi/asm/
H A Ddisplay7seg.h23 * POINT - Toggle decimal point (0=absent 1=present)
40 #define D7S_POINT (1 << 7) /* Decimal point*/
/linux/tools/perf/pmu-events/arch/s390/cf_z14/
H A Dextended.json315 …t of floating point execution slots used for finished Binary Coded Decimal to Decimal Floating Poi…
322 …g point execution slots used for finished vector arithmetic Binary Coded Decimal instructions. Ins…
328 "BriefDescription": "Decimal Instructions",
329 …"PublicDescription": "Decimal instructions dispatched. Instructions: CVB, CVD, AP, CP, DP, ED, EDM…
/linux/Documentation/input/devices/
H A Diforce-protocol.rst186 06+07 Dead band (Val 01F4 = 5000 (decimal))
187 08 Positive saturation (Val 0a = 1000 (decimal) Val 64 = 10000 (decimal))
191 maximum value is 64 (100 decimal), the min is 9c.
/linux/include/linux/sunrpc/
H A Dmsg_prot.h183 * the first through fourth octets each converted to ASCII-decimal.
185 * and second octets each converted to ASCII-decimal. For example, if a
187 * a service listening on, in big endian order, port 0x020F (decimal

1234567891011