1 /* Ltrace Test : time-record.c.
2 Objectives : Verify that Ltrace can record timestamp and spent
5 This file was written by Yao Qi <qiyao@cn.ibm.com>. */
10 #define NANOSLEEP_COUNT 50
15 struct timespec request, remain;
17 request.tv_nsec = NANOSLEEP_COUNT * 1000000;
20 nanosleep (&request, NULL);