[][src]Module common::util

Functions

convert_bytes

Convert val bytes into a human friendly string

fold_string

Fold a long string to a fixed size string and keep the front and back

get_prefix
get_system_time

Convert timestamp from seconds since epoch to SystemTime

get_unix_timestamp

Convert timestamp from SystemTime to seconds since epoch

is_cpu_significant
translate_datetime

Convert system time to human readable datetime.