Skip to content

Commit 793759e

Browse files
committed
Add timestamp for YASIO_NI.
1 parent ae01755 commit 793759e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

yasio/impl/yasio-ni.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ YASIO_NI_API int yasio_write(intptr_t vfd, const unsigned char *bytes, int len)
180180
}
181181
YASIO_NI_API void yasio_dispatch_events(int maxEvents) { myasio->dispatch_events(maxEvents); }
182182
YASIO_NI_API void yasio_stop() { myasio->stop_service(); }
183-
183+
YASIO_NI_API long long yasio_highp_time(void) { return highp_clock<system_clock_t>(); }
184+
YASIO_NI_API long long yasio_highp_clock(void) { return highp_clock<highp_clock_t>(); }
184185
#if defined(__cplusplus)
185186
}
186187
#endif

0 commit comments

Comments
 (0)