diff options
author | vanhauser-thc <vh@thc.org> | 2023-07-02 14:50:18 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-07-02 14:50:18 +0200 |
commit | d5184263350335b24daab635f0bcee455302f990 (patch) | |
tree | 5c4e3f245831b7a53906d159aaba9e7854c97ee3 /include/common.h | |
parent | 03bae6c4fe544f87f07cdb554daa6519d37cdfc8 (diff) | |
download | afl++-d5184263350335b24daab635f0bcee455302f990.tar.gz |
no_ui: display time
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 8d85d201..a9739a7d 100644 --- a/include/common.h +++ b/include/common.h @@ -115,6 +115,11 @@ u8 *stringify_mem_size(u8 *buf, size_t len, u64 val); u8 *stringify_time_diff(u8 *buf, size_t len, u64 cur_ms, u64 event_ms); +/* Unsafe describe time delta as simple string. + Returns a pointer to buf for convenience. */ + +u8 *u_simplestring_time_diff(u8 *buf, u64 cur_ms, u64 event_ms); + /* Unsafe Describe integer. The buf sizes are not checked. This is unsafe but fast. Will return buf for convenience. */ |