diff options
| author | Qiuwen Lu <[email protected]> | 2017-09-22 12:21:55 +0800 |
|---|---|---|
| committer | Qiuwen Lu <[email protected]> | 2017-09-22 12:21:55 +0800 |
| commit | a9f17b9de38f0b8a37c143b0d2a1a4a76ff85b1b (patch) | |
| tree | dda3181ab46332360da64d15d71602bcc4763da3 /include/external | |
| parent | 7947aef2851cd79dfbd5a79888631ac246ef784b (diff) | |
增加获得TSC报文时间戳功能。
- 增加获得TSC报文时间戳功能,用于调试报文处理延迟问题。
Diffstat (limited to 'include/external')
| -rw-r--r-- | include/external/marsio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/external/marsio.h b/include/external/marsio.h index eddca7e..457903e 100644 --- a/include/external/marsio.h +++ b/include/external/marsio.h @@ -236,6 +236,9 @@ int marsio_buff_is_ctrlbuf(marsio_buff_t * m); void marsio_buff_set_ctrlbuf(marsio_buff_t *m); +uint64_t marsio_buff_get_timestamp(marsio_buff_t *m); +void marsio_buff_set_timestamp(marsio_buff_t *m, uint64_t timestamp); + #ifdef __cplusplus } |
