about summary refs log tree commit diff
path: root/include/common.h
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-07-02 14:50:18 +0200
committervanhauser-thc <vh@thc.org>2023-07-02 14:50:18 +0200
commitd5184263350335b24daab635f0bcee455302f990 (patch)
tree5c4e3f245831b7a53906d159aaba9e7854c97ee3 /include/common.h
parent03bae6c4fe544f87f07cdb554daa6519d37cdfc8 (diff)
downloadafl++-d5184263350335b24daab635f0bcee455302f990.tar.gz
no_ui: display time
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h5
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. */