diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-27 18:26:00 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:12 +0100 |
commit | 8a9bd91cd9ebcecf3c9492ba1865d908448338da (patch) | |
tree | 7f8445f4cfc41bda0a4f0a54eeb6783fed001089 /pimd/pim_time.h | |
parent | pimd: Fix possible double free of upstream (diff) | |
download | frr-8a9bd91cd9ebcecf3c9492ba1865d908448338da.tar.xz frr-8a9bd91cd9ebcecf3c9492ba1865d908448338da.zip |
pimd: Add the ability to get time in usec
Add ability to return a int64_t time in usec.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_time.h')
-rw-r--r-- | pimd/pim_time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_time.h b/pimd/pim_time.h index 0081b21bb..9f811f1b9 100644 --- a/pimd/pim_time.h +++ b/pimd/pim_time.h @@ -29,6 +29,7 @@ int64_t pim_time_monotonic_sec(void); int64_t pim_time_monotonic_dsec(void); +int64_t pim_time_monotonic_usec(void); int pim_time_mmss(char *buf, int buf_size, long sec); void pim_time_timer_to_mmss(char *buf, int buf_size, struct thread *t); void pim_time_timer_to_hhmmss(char *buf, int buf_size, struct thread *t); |