Blame view

3rdparty/jrtplib-3.11.2/tools/clockgettimetest.cpp 146 Bytes
3d2ab595   Hu Chunming   支持gb28181
1
2
3
4
5
6
7
8
9
10
  #include <time.h>
  
  int main(void)
  {
  	struct timespec tp;
  
  	clock_gettime(CLOCK_MONOTONIC, &tp);
  	clock_gettime(CLOCK_REALTIME, &tp);
  	return 0;
  }